Is there any C++ "Code Generator" out there?
I've been reading about Meta II, and that made me wonder if there was a C++ "Code Generator". I looked for a C++ Metacompiler, but that is not exactly what I'm referring to. What I'm referring to is something similar to how macros work in Assembly.
  To clarify, I'm not talking about templating or defining. I'm also not talking about using an IDE to generate code for me. This is NOT a theoretical issue, it would be extremely useful to me. I'm working on projects where I need access to the code, and I need it to be "mine". Using the functions from the STL makes things worst many times. It will also save a lot of time on trivial tasks when the algorithm is firstly being implemented.
  I'm talking about a tool containing a database of templated code snippets that could be inserted by either using macros or a visual GUI. That way further manipulation of the code could be done after the basic framework is set up.

Example: I have a queue of objects. I want to find a certain type of object within that queue. There would be a code snippet that could be inserted that will automatically generate a function (member, static, friend...) that would traverse my queue and seek for certain conditions. Different than the IDE, I won't be giving details such as parameters or returning type. Only the very basic will be generated. Maybe in this case a reference to the member. It will give me a prototype and a basic function definition. Further customization will need to be done manually.

   When implementing an algorithm in C++, you have to translate it to some of the technicalities even before you can get anything done. Whereas in Software Engineering those technicalities take a big role, in a simple algorithm development they don't (KIS).

Thanks for your attention 
Is there any C++ "Code Generator" out there?
===

I've been reading about Meta II, and that made me wonder if there was a C++ "Code Generator". I looked for a C++ Metacompiler, but that is not exactly what I'm referring to. What I'm referring to is something similar to how macros work in Assembly.
  To clarify, I'm not talking about templating or defining. I'm also not talking about using an IDE to generate code for me. This is NOT a theoretical issue, it would be extremely useful to me. I'm working on projects where I need access to the code, and I need it to be "mine". Using the functions from the STL makes things worst many times. It will also save a lot of time on trivial tasks when the algorithm is firstly being implemented.
  I'm talking about a tool containing a database of templated code snippets that could be inserted by either using macros or a visual GUI. That way further manipulation of the code could be done after the basic framework is set up.

Example: I have a queue of objects. I want to find a certain type of object within that queue. There would be a code snippet that could be inserted that will automatically generate a function (member, static, friend...) that would traverse my queue and seek for certain conditions. Different than the IDE, I won't be giving details such as parameters or returning type. Only the very basic will be generated. Maybe in this case a reference to the member. It will give me a prototype and a basic function definition. Further customization will need to be done manually.

   When implementing an algorithm in C++, you have to translate it to some of the technicalities even before you can get anything done. Whereas in Software Engineering those technicalities take a big role, in a simple algorithm development they don't (KIS).

Thanks for your attention 