28 Jan
2009
28 Jan
'09
3:35 a.m.
AMDG Mario Chacon wrote:
I have this problem and I do not how to fix it, I know I cannot write template typedefs, its a limitiation of the C++ syntax, right? or I'm wrong? I saw that the best way is to wrap your typedefs in a struct, which can be templated, but I'm still stack with problems. The best way to explain it's with an example:
<snip working code>
How can I create a shared_ptr for the template class "CVALUE"?? Please I do not know what else I can prove... :(
I'm not sure what you're asking. Your code compiles for me and
the type of "a" is shared_ptr