mirror of
https://github.com/serge1/ELFIO.git
synced 2025-03-29 19:20:41 +00:00
Static class members usually have to be defined explicitly which plays not well with header only libraries. Moving the constant into the ELFIO scope works around that problem. The problem only shows up at -O0. Higher optimisations levels manage to completely remove the references to the static member.
ELFIO is a header-only C++ library intended for reading and generating files in the ELF binary format. It is used as a standalone library - it is not dependant on any other product or project. Adhering to ISO C++, it compiles on a wide variety of architectures and compilers.
Description
ELFIO - ELF (Executable and Linkable Format) reader and producer implemented as a header only C++ library
c-plus-pluscpluspluscppcpp-librarycpp-programmingcpp-projectelfelf-binarieself-headerelf-loaderelf-parserelf64elfio
Readme
19 MiB
Languages
C++
98.1%
CMake
1.7%
Assembly
0.1%