On Oct 15, 7:04 pm, rpbg...@yahoo.com (Roland Pibinger) wrote:
>
> The problem with policy template parameters is that they are an
> unavoidable part of the user interface and e.g. pop up in compiler
> error messages.
I agree, but care can be taken to make the error messages at least
readable. I use the boost concept checking library to ensure that the
template parameters passed in meet the requirements, this should
produce much shorter and more immediate error messages when something
is wrong with a policy. It will be improved even more with C++0x with
concepts being built right into the language.
Neal
--
[ See
http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]