diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2019-03-23 12:48:55 +0100 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2019-03-23 12:48:55 +0100 |
| commit | ca5357a65a86b8823bdbf0d6a1c7530cf5cb8aa0 (patch) | |
| tree | bb38fa1a6439b8e586d59f1666c327f22ea674e2 /src/cppc4group.hpp | |
| parent | afaebd0407af3f88dfa9c46b74754a1d96f92ab5 (diff) | |
| download | cc4group-ca5357a65a86b8823bdbf0d6a1c7530cf5cb8aa0.tar.gz cc4group-ca5357a65a86b8823bdbf0d6a1c7530cf5cb8aa0.zip | |
CppC4Group constructor may throw std::bad_alloc if internal allocation fails
Diffstat (limited to 'src/cppc4group.hpp')
| -rw-r--r-- | src/cppc4group.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cppc4group.hpp b/src/cppc4group.hpp index c30af44..eb06585 100644 --- a/src/cppc4group.hpp +++ b/src/cppc4group.hpp @@ -101,6 +101,7 @@ public: public: // the constructor will automatically construct an internal CC4Group, so no new-equivalent method is needed + // may throw std::bad_alloc if the allocation and construction of the internal CC4Group object fails CppC4Group(); // the move constructor is needed to move the returned group out of the optional from openAsChild |
