On Thursday, July 28, 2016 at 7:01:08 PM UTC-4, Öö Tiib wrote:
> On Friday, 29 July 2016 00:31:27 UTC+3, Daniel wrote:
> > I want to have a class template that has a specialization for bool, and
> > also for std::vector<bool>::const_reference if that type differs from bool.
>
> That is odd ... AFAIK it is *required* to be bool.
>
I was under that impression too, but based on cppreference, which is
perhaps not the best source. Does anyone know for sure?
Anyway, it's been reported to me that with
Xcode, Apple LLVM 7.1 with -std=c++14 and libc++
(LLVM C++ standard library with C++11 support)
it seems not to be the case.
Daniel