bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Value constructors made protected


From: Juergen Sauermann
Subject: [Bug-apl] Value constructors made protected
Date: Sun, 22 Feb 2015 17:57:05 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hi,

in order to prevent the incorrect usage of constructors of class Value, I have made
them all "protected:".

This means that in your own code you should replace, e.g.:

Value_P Z(new Value(...));

by:

Value_P Z(...);

I.e. remove the words "
new Value" and optionally the () that are now redundant.

I have adapted the libraries that ship with GNU APL (sql not tested) so please update your
repositories.

SVN 537.

/// Jürgen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]