mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Merge pull request #105 from neilmacintosh/master
Correct misleading text in static_assert. Fixes issue #67.
This commit is contained in:
commit
38a659c428
@ -77,7 +77,7 @@ namespace details
|
|||||||
class coordinate_facade
|
class coordinate_facade
|
||||||
{
|
{
|
||||||
static_assert(std::is_integral<ValueType>::value
|
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!");
|
static_assert(Rank > 0, "Rank must be greater than 0!");
|
||||||
|
|
||||||
template <typename OtherConcreteType, typename OtherValueType, size_t OtherRank>
|
template <typename OtherConcreteType, typename OtherValueType, size_t OtherRank>
|
||||||
|
Loading…
Reference in New Issue
Block a user