-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #77.
- Loading branch information
Showing
4 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
## Version 0.2 | ||
|
||
This release took a long time, so here are just the most important changes. | ||
|
||
* Added `downcast()` utility function | ||
* Fixed GCC 4.8 and clang support | ||
* Improved documentation | ||
* Improved CMake and added Conan support | ||
* Hashing support for `boolean`, `integer`, `floating_point` and `strong_typedef` | ||
|
||
## Vocabulary Types | ||
|
||
* Added `object_ref<T>` and and `xvalue_ref<T>` | ||
* Added `array_ref<T>` | ||
* Added `function_ref<T>` | ||
* Added `flag_set<T>` | ||
* Breaking: renamed `distance_t` to `difference_t` | ||
* Improved `index_t` and `difference_t` | ||
|
||
### Optional & Variant: | ||
|
||
* Breaking: `optional` now auto-unwraps, removed `unwrap()` function | ||
* Breaking: `optional_ref` creation function now `opt_ref()` instead of `ref()`, but more than before | ||
* Breaking: Removed `optional_ref<T>::value_or()` | ||
* Added `optional_for<T>` utility typedef | ||
* Added support for additional parameters to `with()` and make it more optimizer friendly | ||
* Added `with()` for `tagged_union` | ||
* Improved map functions: additional arguments, member function pointers, `void` returning function objects | ||
* Bugfix for trivial variant copy/move/destroy | ||
|
||
### Type Safe Building Blocks: | ||
|
||
* Added pointer like access to `constrained_type` | ||
* Added `constrained_ref` | ||
* Added `throwing_verifier` for `constrained_ref` along with `sanitize()` helper functions | ||
* Added literal operator to create a static bound of `bounded_type` | ||
* Added bitwise operators for `strong_typedef` | ||
* Added `constexpr` support to `strong_typedef` | ||
* Added support for mixed operators in `strong_typedef` | ||
* Made `constrained_type` `constexpr` | ||
* Fixed strong typedef `get()` for rvalues | ||
|
||
|
||
Thanks to @johelgp, @xtofl, @nicola-gigante, @BRevzin, @verri, @lisongmin, @Manu343726, @MandarJKulkarni, @gerboengels. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
409737e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version bump is missing at
type_safe/CMakeLists.txt
Line 103 in 9ed89d6