| 293 | // This is constexpr function used for checking compile-time constants. |
| 294 | // Avoid `#pragma warning(disable: 4127) // C4127: expression is constant`. |
| 295 | template<typename T> FLATBUFFERS_CONSTEXPR inline bool IsConstTrue(T t) { |
| 296 | return !!t; |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | // Enable C++ attribute [[]] if std:c++17 or higher. |
nothing calls this directly
no outgoing calls
no test coverage detected