Thanks
I had tried things like this.
When I try
|
write( std::ostream_iterator<char>( std::cout ), entry ) ;
|
or
I get
d:\dropbox\projects\classes\boost\boost_1_53_0\boost\spirit\home\karma\char\char.hpp(276): error C2664: 'boost::mpl::assertion_failed' : cannot convert parameter 1 from 'boost::mpl::failed ************(__thiscall boost::spirit::karma::char_set<CharEncoding,Tag,no_attribute>::{ctor}::cannot_convert_string::* ***********)(T [])' to 'boost::mpl::assert<false>::type'
1> with
1> [
1> CharEncoding=boost::spirit::char_encoding::standard_wide,
1> Tag=boost::spirit::unused_type,
1> no_attribute=false,
1> T=const char
1> ]
1> No constructor could take the source type, or constructor overload resolution was ambiguous
1> d:\dropbox\projects\classes\boost\boost_1_53_0\boost\spirit\home\karma\char\char.hpp(436) : see reference to function template instantiation 'boost::spirit::karma::char_set<CharEncoding,Tag,no_attribute>::char_set<T[3]>(String (&))' being compiled
....... [lots more] ..........
1>Build FAILED.
When I try
|
write( std::cout, entry ) ;
|
I get
c:\program files (x86)\microsoft visual studio 10.0\vc\include\ostream(604): error C2248: 'std::basic_ios<_Elem,_Traits>::basic_ios' : cannot access private member declared in class 'std::basic_ios<_Elem,_Traits>'
1> with
1> [
1> _Elem=char,
1> _Traits=std::char_traits<char>
1> ]
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\ios(176) : see declaration of 'std::basic_ios<_Elem,_Traits>::basic_ios'
1> with
1> [
1> _Elem=char,
1> _Traits=std::char_traits<char>
1> ]
1> This diagnostic occurred in the compiler generated function 'std::basic_ostream<_Elem,_Traits>::basic_ostream(const std::basic_ostream<_Elem,_Traits> &)'
1> with
1> [
1> _Elem=char,
1> _Traits=std::char_traits<char>
1> ]
1>
1>Build FAILED.
Any other ideas/suggestions?
Thx
G