[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: avoiding forward declarations in stencil.hh
From: |
Graham Percival |
Subject: |
Re: avoiding forward declarations in stencil.hh |
Date: |
Mon, 30 Jan 2012 13:42:08 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Jan 30, 2012 at 12:56:50PM +0100, address@hidden wrote:
> The problem is that the file in question is stencil.hh.
> I got around it by using Drul_array<SCM> and having the drul
> arrayed populated with smobified stencils.
I hope that my
6e2e1d6a13aba88a3a8eecc0d46f96ad245c152a
didn't mess up anything?
Avoid deprecated access declarations
"According the ANSI/ISO Standard, the use of access
declarations
is considered deprecated. Instead, you should use a using
declaration for that purpose"
http://www.devx.com/tips/Tip/5707
-------------------------- flower/include/interval.hh
--------------------------
index 1ce6ac2..02bc791 100644
@@ -31,7 +31,7 @@
template<class T>
struct Interval_t : public Drul_array<T>
{
- Drul_array<T>::at;
+ using Drul_array<T>::at;
static T infinity ();
static string T_to_string (T arg);