bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Value::debug should be const?


From: Elias Mårtenson
Subject: Re: [Bug-apl] Value::debug should be const?
Date: Mon, 23 Feb 2015 15:17:02 +0800

Why? The debug function does alter state, so making it const doesn't make much sense to me.

On 23 February 2015 at 15:02, Dirk Laurie <address@hidden> wrote:
Current:

    /// debug-print \b this value
   void debug(const char * info);

Suggested:

   /// debug-print \b this value under \b info
   void debug(const char * info) const;



reply via email to

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