Subject: [boost] [#pragma once]
From: Sid Sacek (ssacek_at_[hidden])
Date: 2009-04-10 10:26:05
I've worked with the MSVC, Sun and GCC compilers.
Each one of them supports #pragma once. Is there any reason to wrap
this pragma within #ifdefs? Are there any compilers out there today that
don't support this #pragma?
#if defined( _MSC_VER ) && ( _MSC_VER >= 1020 )
# pragma once
Could we change this coding pattern so that it no longer looks like MSVC
is being selfish?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk