|
-
October 21st, 2010, 07:07 AM
#5
Re: Template Template Parameter and Template Traits
 Originally Posted by Peter_APIIT
Code:
soci::backend_factory const& backEnd = sqlite3;
This statement was working
but when i pass in the soci::sqlite3 statement into the trait class, compiler complaints that soci::sqlite3 is not a type.
soci::sqlite3 is an object, not a statement.
Pass into which traits class? How do you pass an object into a class? You can pass a type to a template class or you can pass an object to a function (possibly a constructor).
 Originally Posted by Peter_APIIT
Please help.
Thanks.
I think you'll get a lot more help if you post a minimal but complete example that replicates your problem.
Cheers, D Drmmr
Please put [code][/code] tags around your code to preserve indentation and make it more readable.
As long as man ascribes to himself what is merely a posibility, he will not work for the attainment of it. - P. D. Ouspensky
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|