std::string& as pure_out_value in MSVC

Willi Schinmeyer <[email protected]> Thu, 12 Apr 2012 01:49:50 +0200
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
  Hi,

I'm currently trying to compile my project with MSVC 2010 for the first 
time, I usually use mingw/gcc wanted to debug something using the MSVC 
debugger. Anyway, I think I encountered a bug: I can't use std::string& 
arguments as pure_out_values.

It seems to be the same problem as described here with example code: 
http://stackoverflow.com/questions/1597697/luabind-function-using-stdstring-reference-with-pure-out-value-policy-not-pos

Any suggestions on what to do about that?

Thanks,
Willi

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2