From 61b44772d7390cbffed3e2fa4af0138727d58bcf Mon Sep 17 00:00:00 2001 From: ljfa-ag Date: Sun, 28 Jun 2015 22:43:44 +0200 Subject: Update Requirements.md --- Requirements.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Requirements.md b/Requirements.md index d869e3cecc..f7b46f1a8a 100644 --- a/Requirements.md +++ b/Requirements.md @@ -30,10 +30,17 @@ such as: provide. - /RF30/ A shorter syntax than in libnbt++1 and preferrably also Mojang's implementation. +- /RF35/ Typesafe operations (no possibly unwanted implicit casts), in case + of incompatible types exceptions should be thrown. - /RF40/ The need for insecure operations and manual memory management should be minimized; references and `std::unique_ptr` should be preferred before raw pointers. +- /RF55/ A wrapper for tags that provides syntactic sugar is preferred + before raw `std::unique_ptr` values. - /RF50/ Move semantics are preferred before copy semantics. +- /RF55/ Copying tags should be possible, but only in an explicit manner. +- /RF60/ Checked conversions are preferred, unchecked conversions may be + possible but discouraged. ### Product Performance - /RP10/ All operations on (not too large) NBT data should not be slower -- cgit 0.0.5-2-1-g0f52