|
Boost : |
Subject: Re: [boost] numeric_cast
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2011-06-27 12:59:48
[Mateusz Loskot]
> Is location of #pragma relevant? Meaning, having #pragma nested in
> #ifndef include guard vs. placing it in outer scope, makes difference or
> not?
VC doesn't care where the #pragma once is, but as I recall, other compilers care where the #ifndef is - they prefer it to be on the outside of everything else, except comments.
Stephan T. Lavavej
Visual C++ Libraries Developer
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk