From da064905e287692aa00ba59162ebf3eeb592ec97 Mon Sep 17 00:00:00 2001 From: Pascal Engeler <engelerp@phys.ethz.ch> Date: Tue, 21 Jan 2020 11:05:01 +0100 Subject: [PATCH] updated exception guarantees --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 526d31c..aa546d0 100644 --- a/README.md +++ b/README.md @@ -104,11 +104,13 @@ where it improves legibility. Consult the source files for more information. - Modifiers - `Vec2 normalize()` - normalizes the vector and returns it + - throws when zero-vector - `Vec2 rotate(Vec2, value_t)` - rotates the vector and returns it - Supported Operators, All of these work as one would expect - `*` with `Vec2` (inner product) and `value_t` - - `/` with `value_t`, throws upon division by zero + - `/` with `value_t` + - throws upon division by zero - `+, -` with `Vec2` - All versions of `op=` of the above - `[]` with `std::size_t` -- GitLab