Afficher un message
Vieux 17/10/2007, 01h11   #4
Neal E. Coombes
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Boost Logging Lib, v2 - added documentation

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! ]

  Réponse avec citation
 
Page generated in 0,04572 seconds with 9 queries