docs: add accessed() to reference

This commit is contained in:
ToruNiina
2025-02-14 02:17:52 +09:00
parent e6f90434bf
commit 23c159775f
2 changed files with 34 additions and 0 deletions

View File

@@ -751,6 +751,23 @@ comment_type& comments() noexcept;
コメント用コンテナへの参照を返します。
-----
### `accessed()`
```cpp
bool accessed() const;
```
#### 戻り値
その`value`がパース後に一度でも`as_xxx``is_xxx`でアクセスされていた場合、`true`を返します。
それ以外の場合、`false`を返します。
#### 備考
`TOML11_ENABLE_ACCESS_CHECK`が定義されている場合にのみ存在します。
## 非メンバ関数
### `operator==`