Boost logo

Boost Users :

From: Pavol Droba (droba_at_[hidden])
Date: 2008-04-03 02:29:47


Hi,

char* is not longer supported as a default range type by the range library.
you can use const char* literals only.

You can pass char* only if you convert it to a range using as_literal or as_array
helpers, that are part of the range library.

We have to change this since thare were ambiguieties in char* usage.

Best regards,
Pavol.

L Pocaille wrote:
> The following code was working in boost 1.34
>
> char smurf_name[512];
> strcpy(smurf_name, "Schtroumpf");
> bool samething= boost::iequals("Schtroumpf", smurf_name);
> assert(samething);
>
> but it no longer works in 1.35.
>
> Thanks,
>
>
> www.jubii.fr <http://www.jubii.fr/jubii-partner-1.0/viewSimpleLogin.do>
> c'est une seule interface pour communiquer. Email, téléphone gratuit,
> messagerie instantanée, 10 Go d'espace de stockage. Avec www.jubii.fr <
> http://www.jubii.fr/jubii-partner-1.0/viewSimpleLogin.do>
> simplifiez-vous la vie !
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net