Boost logo

Boost :

Subject: Re: [boost] [config] Changes to reflect Visual C++ "15" preview 5
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2016-10-10 15:05:31


On 10/10/16 19:41, Billy O'Neal (VC LIBS) wrote:
>
>> You could just make those symbols point to the unsigned short and
>> unsigned int API implementation that you already provide and
>> recommend using in the MS Connect tickets.
>
> We may be able to inject something like this with an additional
> static library but have been reluctant to do so -- the presence of
> the bug in the shipping product indicates that there is a gap in
> understanding of how these extension codecvt facets were/are intended
> to operate, and/or that such functionality was never tested.

I think it could be done without an additional static library. GCC
provides the alias attribute[1] which could be used for this purpose,
MSVC could have a similar attribute as well.

[1]:
https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#Common-Function-Attributes


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