|
Boost Users : |
From: Dan Fike (dan.fike_at_[hidden])
Date: 2008-05-08 13:02:24
[Boost.Python]
Anybody have a suggestion for the best way to expose a class's member
function that accepts const wchar_t* as an argument, or returns a const
wchar_t*?
I'm trying to find a way to do it that does not involve writing a thin
wrapper function around each of my member functions that convert to/from
std:wstring or something. If it balloons up into 100 functions that interact
with const wchar_t*, that's a pretty big handful of tiny wrapper functions.
I apologize if this is a dumb question, but I haven't found any useful info.
It all works implicitly for const char*.
Any ideas?
Thanks,
Dan Fike
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