diff options
| author | ljfa-ag <ljfa-ag@web.de> | 2015-07-22 23:55:51 +0200 |
|---|---|---|
| committer | ljfa-ag <ljfa-ag@web.de> | 2015-07-22 23:55:51 +0200 |
| commit | 3a8f3ec2a07a518c2ea8422eceefba2544397500 (patch) | |
| tree | 5b99c3f25acc5fc22334e3ce8f45016058f0bda0 | |
| parent | a4c22fa02f779c28109e4617ba64ffbd760abcea (diff) | |
| download | Project-Tick-3a8f3ec2a07a518c2ea8422eceefba2544397500.tar.gz Project-Tick-3a8f3ec2a07a518c2ea8422eceefba2544397500.zip | |
Specify undefined behavior if list is broken
| -rw-r--r-- | include/tag_list.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/tag_list.h b/include/tag_list.h index f44f4ba66e..87b2742e92 100644 --- a/include/tag_list.h +++ b/include/tag_list.h @@ -29,7 +29,12 @@ namespace nbt { -///Tag that contains multiple unnamed tags of the same type +/** + * @brief Tag that contains multiple unnamed tags of the same type + * + * The list's behavior is undefined if the contained values are changed in a + * way that their type differs from the list's content type. + */ class tag_list final : public detail::crtp_tag<tag_list> { public: |
