MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / IsConstTrue

Function IsConstTrue

3rdparty/flatbuffers/flatbuffers/base.h:295–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected