On Friday 19 October 2007 2:41 am, Igor Mironchick wrote: > Why to not change > > #ifdef CURLOPT_COOKIELIST > typedef cURLpp::OptionTrait< std::string, CURLOPT_COOKIELIST > > CookieList; > #else > #ifdef CURLPP_ALLOW_NOT_AVAILABLE > typedef cURLpp::NotAvailableOptionTrait< std::string > CookieList; > #endif > #endif > > with > > #if LIBCURL_VERSION_NUM >= 0x070e01 > typedef cURLpp::OptionTrait< std::string, CURLOPT_COOKIELIST > > CookieList; > #else > #ifdef CURLPP_ALLOW_NOT_AVAILABLE > typedef cURLpp::NotAvailableOptionTrait< std::string > CookieList; > #endif > #endif
I Agree. For a CookieList example, check the examples/example07.cc -- Jean-Philippe Barrette-LaPierre _______________________________________________ cURLpp mailing list [email protected] http://www.rrette.com/mailman/listinfo/curlpp
