title: Is there a utility supporting g++ or clang memory resident compilation?
body: <p>Apache commons provides a Java API to compile code without loading it from a file. Is there any similar API for C++, either g++ or clang?  I would like to be able to have the compiler loaded in memory and feed it code to compile without having to run it every time, and without having to load the code from a file.</p>