Merge pull request #105 from neilmacintosh/master

Correct misleading text in static_assert. Fixes issue #67.
This commit is contained in:
Neil MacIntosh 2015-09-29 17:06:45 -07:00
commit 38a659c428

View File

@ -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>