|
Boost Users : |
Subject: [Boost-users] [BOOST::XPRESSIVE] Trouble with functor
From: Norbert Hauck (nhauck_at_[hidden])
Date: 2011-02-04 11:51:41
Hi again,
and sorry for the repost - I had a fat finger accident and clicked the send button to early! If I managed to delete the old message prior to posting this one please ignore. To the point:
Please find enclosed my code - df1.cpp - as an attachment. I tinkered around with it but since I'm new to the boost libraries as well as a hobby programmer at best I throw in the towel now. Maybe someone more experienced can help me out how to change my code so that it compiles without errors.The error message was:
1>c:\program files\boost\boost_1_45_0\boost\proto\context\default.hpp(441) : error C2664: 'int DateVerify_Impl::operator ()(const std::string &,wchar_t *) const' : cannot convert parameter 2 from 'wchar_t (*__w64 const )[11]' to 'wchar_t *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Are ALL parameters I pass to the operator() somehow const ? Pfff ..... maybe I should continue after my temperature went down again (flu) - it seems my brains are addled and I cannot figure out anything at the moment. Thanks a lot,
Norbert
-- NEU: FreePhone - kostenlos mobil telefonieren und surfen! Jetzt informieren: http://www.gmx.net/de/go/freephone
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