Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
davidstone
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
davidstone
6y ago
Do you have a source for this claim? It is contradicted by https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6347593/ "Evidence-based debates around the origins of thrusting and throwing spear use in human ev
2.
▲
by
davidstone
7y ago
Library author here: As I have added more features to the library, compile times have definitely suffered. Fortunately, the latest version of the clang compiler added `-ftime-trace`, which reports where the compiler spends its time. I am cu
3.
▲
by
davidstone
7y ago
Only very old versions of the library are supported by those older compilers. My library is targeting the C++20 standard, so currently the only compile version that can compile it is clang with the concepts branch.
4.
▲
by
davidstone
7y ago
The bounded::integer types accept three template parameters: `integer<min, max, overflow_policy>`. That final parameter can be bounded::throw_policy, which is itself templated on the exception type thrown. The default exception policy
5.
▲
by
davidstone
7y ago
Library author here. I'm sorry you found the wording confusing. I was trying to talk generally about the non-library types: things like int and long. The C++ standard guarantees that there exists an integer type that is at least 64-bit