From 7dcfa9a9104189023c85e7d5e69d528930104ed9 Mon Sep 17 00:00:00 2001 From: theoreticalbts Date: Wed, 6 May 2015 16:51:54 -0400 Subject: [PATCH] safe.hpp: Add comment noting that safe is not compatible with uint128_t --- include/fc/safe.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/fc/safe.hpp b/include/fc/safe.hpp index 9f165b4..bb86a71 100644 --- a/include/fc/safe.hpp +++ b/include/fc/safe.hpp @@ -10,6 +10,9 @@ namespace fc { * This type is designed to provide automatic checks for * integer overflow and default initialization. It will * throw an exception on overflow conditions. + * + * It can only be used on built-in types. In particular, + * safe is buggy and should not be used. */ template struct safe