Subject: Re: [boost] Guidence on #pragma once
From: Josh Juran (jjuran_at_[hidden])
Date: 2018-11-25 12:56:25
On Nov 25, 2018, at 7:46 AM, Olaf van der Spek via Boost <boost_at_[hidden]> wrote:
> On Sat, Nov 24, 2018 at 2:01 AM Andrey Semashev via Boost
> <boost_at_[hidden]> wrote:
>> since `#pragma once` is non-standard and not reliable, there's little
> Who has a sane reproducible test case showing the claimed unreliability?
> #pragma once is simpler then include guards.
I once thought the same, until I was informed it was non-standard by the founder of the Nitrogen C++ library. I found out for myself that it was unreliable, in the Metrowerks compiler I was using at the time.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk