$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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