Skip to content

Commit f5f395a

Browse files
Update README.md
1 parent 565bb34 commit f5f395a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
## Library utilities, methodologies and guidelines to make C++ nice to work with.
22

3+
Single header Library utilities:
4+
5+
+ [ptr_to_unique](https://github.com/make-cpp-nice/ptr_to_unique) - A smart pointer to an object already owned by a unique_ptr. It doesn't own the object but it self zeroes when the object is deleted so that it can never dangle.
6+
+ [numerical conversions](https://github.com/make-cpp-nice/numerical-conversions) - A set of dedicated numerical conversions that are a better choice than the canonical application of static_cast.
7+
+ [literal integral constants](https://github.com/make-cpp-nice/literal-integral-constants) - Converts literal constants into std::integral_constant using a double underscore suffix, e.g. 4__
8+
39
Some thoughts:
410

511
+ Safe is nice. That doesn't have to be the bullet proof provable safety of Rust. A more humble aim that with reasonable care safety hazards can easily be avoided would be a big improvement on the status quo. So hazards of pointer, memory or data corruption should be well controlled and easy to avoid.
@@ -8,11 +14,7 @@ Some thoughts:
814
+ Coding should not be laborious. You should not have to code much more than what you are thinking.
915
+ Learning curves should be short and provide early rewards.
1016

11-
Library utilities:
1217

13-
+ ptr_to_unique - A smart pointer to an object already owned by a unique_ptr. It doesn't own the object but it self zeroes when the object is deleted so that it can never dangle.
14-
+ numerical conversions - A set of dedicated numerical conversions that are a better choice than the canonical application of static_cast.
15-
+ literal integral constants - Converts literal constants into std::integral_constant using a double underscore suffix, e.g. 4__
1618

1719

1820
<!---

0 commit comments

Comments
 (0)