Hello, I ran into this issue with template function specialization which seems like a bug to me, but maybe I'm just missing something. I have code that looks like this: class Checker { public: /// Fruit checking template function template <FruitType T> bool CheckFruit(int type); }; /// @brief specialized APPLE checker template<> bool Checker::CheckFruit<APPLE>(int type) { ... } /// @brief specialized ORANGE checker template<> bool Checker::CheckFruit<ORANGE>(int type) { ... } I was expecting to see...
Hello, Is there a way to configure pre-include files, as in the gcc preprocessor -include option? From https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html#index-include: -include file Process file as if #include "file" appeared as the first line of the primary source file. However, the first directory searched for file is the preprocessor’s working directory instead of the directory containing the main source file. If not found there, it is searched for in the remainder of the #include "…"...