Boost logo

Boost :

Subject: Re: [boost] BOOST_DATE_TIME_NO_LIB
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-07-14 20:08:05


on Thu Jul 14 2011, Beman Dawes <bdawes-AT-acm.org> wrote:

> 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

I would prefer

BOOST_DATE_TIME_NO_AUTOLINK
and for the global:
BOOST_NO_AUTOLINK

or

BOOST_DATE_TIME_DISABLE_AUTOLINK
and for the global:
BOOST_DISABLE_AUTOLINK

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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