-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/17/2010 10:44 AM, Rainer M Krug wrote:
> On 11/17/2010 10:26 AM, Romain Francois wrote:
>> Le 17/11/10 10:17, Rainer M Krug a écrit :
>>> On 11/16/2010 05:49 PM, Douglas Bates wrote:
>>> Hi Douglas,
>>>
I enclose a rewrite which compiles and
Hello,
Up to now, a class exposed by a module could only have one method of a
given name. I've now lifted that restriction by applying the same sort
of trickery as in this thread:
http://article.gmane.org/gmane.comp.lang.r.rcpp/929
Consider this simple C++ class :
class Randomizer {
public:
My C++ coding style (such as it is) has been influenced by reading
Frank Bokken's "C++ Annotations". I keep most data members of classes
private or protected and usually with names like d_x, d_y, d_weights,
etc. then provide accessor functions named x, y, weights, etc.
Generally the accessors retu
Isn't this sort of thing what the .property is for in modules? Or are
you looking for something else
-Andrew
On Thu, Nov 18, 2010 at 2:31 PM, Douglas Bates wrote:
> My C++ coding style (such as it is) has been influenced by reading
> Frank Bokken's "C++ Annotations". I keep most data members of
Le 18/11/10 22:31, Douglas Bates a écrit :
My C++ coding style (such as it is) has been influenced by reading
Frank Bokken's "C++ Annotations". I keep most data members of classes
private or protected and usually with names like d_x, d_y, d_weights,
etc. then provide accessor functions named x,
Le 18/11/10 22:41, Romain Francois a écrit :
Le 18/11/10 22:31, Douglas Bates a écrit :
My C++ coding style (such as it is) has been influenced by reading
Frank Bokken's "C++ Annotations". I keep most data members of classes
private or protected and usually with names like d_x, d_y, d_weights,
e
Thanks again Romain. Now that you mention it I remember.
On Thu, Nov 18, 2010 at 3:41 PM, Romain Francois
wrote:
> Le 18/11/10 22:31, Douglas Bates a écrit :
>>
>> My C++ coding style (such as it is) has been influenced by reading
>> Frank Bokken's "C++ Annotations". I keep most data members of