lilypond-devel
[Top][All Lists]
Advanced

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

Re: 2.5.1: Header change breaks MacOS X


From: Carl Sorensen
Subject: Re: 2.5.1: Header change breaks MacOS X
Date: Wed, 24 Nov 2004 20:22:20 -0700

On Wed, 2004-11-24 at 16:27, Matthias Neeracher wrote:
> On Nov 24, 2004, at 1:28 PM, Han-Wen Nienhuys wrote:
> 
> >
> > What is the proper fix? Should we be using
> >
> >      using std;
> >
> > somewhere?
> 
> Yes, I think a declaration
> 
> using namespace std;
> 
> would solve the issue. C++ purists abhor the practice because it 
> pollutes the program namespace with a potentially large set of symbols. 
> The stylish solution is
> 
> using std::isinf;
> 
> in every file using this symbol, but this would be a lot of work, and a 
> pain to write portably until all C++ platforms are up to date with 
> their namespace usage.

Is it possible to to it the stylish way by putting

using std::isinf;

in one of the header files that's included in all of the C++ modules?

Carl







reply via email to

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