Re: Mutable Field

Daniel Wallin <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
Sandro Ferreira wrote:
> Hello,
> 
> I'm creating a binding for one library that have one class with mutable
> field, which the best way to bind this field?
> 
> .def_readwrite work only for non const class.
> With the error message for const instance:
> "No matching overload found, candidates: void <unknown>(CMod1&,int const&)",
> where the mutable field is an integer.
> 
> .property work, but is this the only solution for this case?

Yes, I'm afraid it is.

-- 
Daniel Wallin
BoostPro Computing
http://www.boostpro.com

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.