Commit Graph

3 Commits

Author SHA1 Message Date
Rian Quinn
b07383ead1 [gsl_util] Update narrow_cast to use std::forward
* Update narrow_cast to use std::forward

Based on [F19](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#f19-for-forward-parameters-pass-by-tp-and-only-stdforward-the-parameter), I believe `gsl::narrow_cast` should be implemented using forward semantics.

* Fix for VS 2013
2016-10-18 11:52:45 -07:00
Martin Moene
3aea9f7201 Define constexpr as /*constexpr*/ when unavailable (also noexcept) 2016-08-24 19:53:53 +02:00
Galik
222c2d85fd Removed .h extension from header files. 2016-08-10 17:24:00 +01:00