Hi Olli,

I'm considering an approach like this for wrapping C++ class member 
functions in my CppWrapper package. I just wonder, is this kind of 
object.member_function(arguments) syntax acceptable for Julia, or is 
member_function(object, other_arguments) preferred? The former will be more 
natural for people used to the C++ interface, while the latter conforms 
better to Julia's way of working I think.

Cheers,

Bart

On Saturday, November 28, 2015 at 6:19:29 PM UTC+1, Olli Väinölä wrote:

> julia> class_1.set_a(10)
> 10
>
> julia> class_1.get_a()
> 10
>
> not sure if someone has already invented this but in PyPlot I guess same 
> has been archived with a Dict. Still, all fun and games.
>
>

Reply via email to