medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 470b9a0b4da5ab35b1f68d7a15c878aa2711e8dc
parent a4571a57126c1b3f3f235ad0ddd3db8f08076c1e
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Thu Dec 29 12:22:26 +0200

Don't allow str< 0 >

Diffstat:
str.h | 2++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/str.h b/str.h @@ -11,6 +11,8 @@ template< size_t N > class str { public: + STATIC_ASSERT( N > 0 ); + str() { clear(); }