Does __attribute__((always_inline))
force a function to be inlined by gcc?
相关问题
- Error building gcc 4.8.3 from source: libstdc++.so
- What are the recommended GNU linker options to spe
- What is the right order of linker flags in gcc?
- C# Java-like inline extension of classes?
- Why doesn't g++ -Wconversion warn about conver
相关文章
- gcc/g++ gives me error “CreateProcess: No such fil
- Calls that precede a function's definition can
- How can I use gcc's -I command to add recursiv
- How do I know if std::map insert succeeded or fail
- How to specify gcc flags (CXXFLAGS) particularly f
- C++: How to use unnamed template parameters in cla
- Kotlin inlined extension property
- How to generate assembly code with gcc that can be
One can also use
__always_inline
. I have been using that for C++ member functions for GCC 4.8.1. But could not found a good explanation in GCC doc.Actually the answer is "no". All it means is that the function is a candidate for inlining even with optimizations disabled.