mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Correct misleading text in static_assert. Fixes issue #67.
This commit is contained in:
parent
25c90750f2
commit
761554f68d
@ -77,7 +77,7 @@ namespace details
|
||||
class coordinate_facade
|
||||
{
|
||||
static_assert(std::is_integral<ValueType>::value
|
||||
&& sizeof(ValueType) <= sizeof(size_t), "ValueType must be unsigned integral type!");
|
||||
&& sizeof(ValueType) <= sizeof(size_t), "ValueType must be an integral type!");
|
||||
static_assert(Rank > 0, "Rank must be greater than 0!");
|
||||
|
||||
template <typename OtherConcreteType, typename OtherValueType, size_t OtherRank>
|
||||
|
Loading…
Reference in New Issue
Block a user