created new file for gsl_narrow, might want to rename if we go this approach to have all exception prone logic to live here

This commit is contained in:
Jordan Maples
2020-08-11 17:11:14 -07:00
parent 63379b7935
commit 72ddfb7a40
3 changed files with 35 additions and 27 deletions

View File

@@ -16,8 +16,8 @@
#include <gtest/gtest.h>
#include <gsl/gsl_util> // for narrow, finally, narrow_cast, narrowing_e...
#include <gsl/gsl_util> // finally, narrow_cast
#include <gsl/gsl_narrow> // for narrow, narrowing_error
#include <algorithm> // for move
#include <functional> // for reference_wrapper, _Bind_helper<>::type
#include <limits> // for numeric_limits