]> OCCT Git - occt.git/commit
Coding - Create a C++17 version macro (#785)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Fri, 31 Oct 2025 08:45:06 +0000 (08:45 +0000)
committerGitHub <noreply@github.com>
Fri, 31 Oct 2025 08:45:06 +0000 (08:45 +0000)
commit96d91cb76581eaa3a6756b5f136764a371e7d8c8
tree774ae8be953988fdc6635ca7d148fd839bbe30c4
parentbc1b021e86e09bdcb4e59f147087888488b2163d
Coding - Create a C++17 version macro (#785)

- Updated preprocessor directives to utilize Standard_CPP17_OR_HIGHER instead of direct __cplusplus checks.
- Removed unnecessary preprocessor checks for C++17 in TCollection_AsciiString implementation and tests.
- Enhanced code readability and maintainability by centralizing C++ version checks.
src/FoundationClasses/TKernel/GTests/TCollection_AsciiString_Test.cxx
src/FoundationClasses/TKernel/Standard/Standard_Macro.hxx
src/FoundationClasses/TKernel/TCollection/TCollection_AsciiString.hxx
src/FoundationClasses/TKernel/TCollection/TCollection_AsciiString.lxx