hackingcpp / comments

Comments regarding hackingcpp.com
0 stars 0 forks source link

cpp/design/literal_types #52

Open utterances-bot opened 5 months ago

utterances-bot commented 5 months ago

C++ Custom Literal Types | hacking C++

Learn how to write literal types in C++ with the potential of (almost) zero runtime overhead!

https://hackingcpp.com/cpp/design/literal_types.html

JohannJo commented 5 months ago

How do you find 23 when you calculate distance2(u,v) in the examples?