Skip to content

Commit

Permalink
Dev/annagrin/explicit notnull transition description (microsoft#722)
Browse files Browse the repository at this point in the history
* Added c++17 test configurations for clang5.0 and clang6.0

* Improved description how to make transition to explicit not_null constructor
  • Loading branch information
Anna Gringauze authored Aug 17, 2018
1 parent 5016ce4 commit 55aad0a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions samples/gsl_transition
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ namespace gsl_helpers
// To make the transition:
//
// - replace all occurences of gsl::not_null in your code by sloppy_not_null
// variant: rename gsl::not_null by NotNull by including the following in your code,
// foe example, in a common include file:
//
// template<typename T>
// using NotNull = gsl::not_null<T>;
//
// compile using old version of GSL
// change GSL version and replace gsl::not_null by gsl_helpers::sloppy_not_null
// in the added code lines above
//
// - compile - compilation should be successful
// - replace some sloppy_not_nulls by gsl::not_null, fix compilation erros,
// redesign as needed, compile and test
Expand Down

0 comments on commit 55aad0a

Please sign in to comment.