Boost logo

Boost :

Subject: Re: [boost] Array in Unordered Map
From: Olaf van der Spek (ml_at_[hidden])
Date: 2012-05-01 07:08:38


On Tue, May 1, 2012 at 12:08 PM, Daniel James <dnljms_at_[hidden]> wrote:
>>> As far as I know gcc is correct. Functions are only visible if they're
>>> available at the point of the call to hash_value in the source code,
>>
>> Are both VC10 and VC11 broken then?
>
> Maybe, I'm not expert enough to say for sure. 'broken' is quite a
> harsh way to describe it. I think Microsoft tends to prioritize
> supporting existing code over strict standards compliance (which is
> perhaps one of the reasons they've been so successful in the business
> world).

True, I meant broken as in not accepting the code I posted.
Is there any way to make it work with both GCC and VC (while using hash_value)?

Olaf


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