Boost logo

Boost :

Subject: Re: [boost] BOOST_DATE_TIME_NO_LIB
From: Beman Dawes (bdawes_at_[hidden])
Date: 2011-07-14 14:15:06


On Thu, Jul 14, 2011 at 2:05 PM, Dave Abrahams <dave_at_[hidden]> wrote:
>
> on Tue Jul 12 2011, Thomas Klimpel <Thomas.Klimpel-AT-synopsys.com> wrote:
>
>> gpolo1_at_[hidden] wrote:
>>> I #defined
>>> BOOST_DATE_TIME_NO_LIB in my header file and the program compiles and
>>> works fine. So what is the purpose of this definition.
>>
>> Contrary to what the name might suggest, it just turns autolinking off.
>
> How is it that we haven't renamed these macros to something more
> suggestive of their meaning by now?
>
> Let me try a less rhetorical approach: suppose we rename these things?
> (We can leave code in place to achieve backward compatibility if
> necessary).

How about:

BOOST_DATE_TIME_AUTOLINK_OFF
and for the global:
BOOST_ALL_AUTOLINK_OFF

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk