file1.cc
void func() {
std::cout << "test\n";
}
file2.cc
...
std::string str = GET_FILE("file1.cc");
...
So, what I need is that str
has the content of file1.cc as string, in compile time, NOT execution time.
How to implement this GET_FILE macro?