I have code that compiles fine with VC9 (Microsoft Visual C++ 2008 SP1) but not with GCC 4.2 (on Mac, if that matters).If I pile on enough qualifiers and keywords I can force it to work in GCC but thi
I have created a structure of different data types and i want to return each type of data. does this can be done using a function template which takes a different data argument not included in structu
Hi I\'m having problems selecting the correct version of a templated class which has an explicit specialization.I\'m wanting to select a specialization using a derived class of the class used to speci
I\'ve been developing a library of mostly template functions and managed to keep things organized (to some extent) in the following manner:
In some MVC frameworks you can call controller action from the view if you wish to execute some code and render some partial view. I\'m not sure what is the correct way to do it in Spring MVC
The offending code: template<typename T> class SharedObject { public: typedef boost::intrusive_ptr<T> Pointer;
I\'m trying tow write a SFINAE template to determine whether two classes can be added together. This is mostly to better understand how SFINAE works, rather than for any particular \"real world\" reas
In Eclipse 3.5, under Windows -> Preferences -> Java > Editor -> Templates, I can add code templates. However, these templates can only contain snippets which I can insert into an existing Java class.
i\'m having a issue with the T4 templates for generating code. I\'m wondering if anyone can help me with an issue I have.
Yeah, the title can scare babies, but it\'s actually quite straightforward. I am trying to store a function pointer to a specialized template function, namely boost::make_shared (boost 1.41), as illu