Boris, The macros are not 100% portable and are a bit involved to use. That's why we didn't document them - we don't want to promote their use. Good that they work for you!
Best regards, Wim. 2012/7/28 Nagaev Boris <bnag...@gmail.com>: > Hello! > > I discovered, that using DBO_EXTERN_TEMPLATES and > DBO_INSTANTIATE_TEMPLATES can significantly speed up compilation of > project, using Wt::Dbo. In my case, it was 2 times. > > DBO_EXTERN_TEMPLATES and DBO_INSTANTIATE_TEMPLATES are used in Wt's > Blog example: > https://github.com/kdeforche/wt/blob/master/examples/blog/model/Post.h#L69 > https://github.com/kdeforche/wt/blob/master/examples/blog/model/Post.C#L18 > > Could you add description of these useful macro to the documentation > of Wt::Dbo? One problem I faced was that they must be used in main > namespace, not in my project's namespace. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > witty-interest mailing list > witty-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/witty-interest ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest