safe.hpp: Add comment noting that safe is not compatible with uint128_t
This commit is contained in:
parent
3bf3b0c9b4
commit
7dcfa9a910
1 changed files with 3 additions and 0 deletions
|
|
@ -10,6 +10,9 @@ namespace fc {
|
||||||
* This type is designed to provide automatic checks for
|
* This type is designed to provide automatic checks for
|
||||||
* integer overflow and default initialization. It will
|
* integer overflow and default initialization. It will
|
||||||
* throw an exception on overflow conditions.
|
* throw an exception on overflow conditions.
|
||||||
|
*
|
||||||
|
* It can only be used on built-in types. In particular,
|
||||||
|
* safe<uint128_t> is buggy and should not be used.
|
||||||
*/
|
*/
|
||||||
template<typename T>
|
template<typename T>
|
||||||
struct safe
|
struct safe
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue