由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - A tech question (转载)
相关主题
inline functions in C++谁来解释一下这个是compiler问题吗?
inline C function in VC++ 2005 express关于Makefile的一个问题
inline到底能省多少时间?关于C++ STL编译的疑问
请教C++里面这个表达question for C++ constant
c++中的inline 函数是做什么的?a question about CAST
C arrayc++标准函数传递一问
A C++ compiler related interview questionC++ 的 问题
An interesting C++ compile error有谁知道怎么把matlab和VC联接着一起用? (转载)
相关话题的讨论汇总
话题: tech话题: question话题: c++话题: inline话题: feb
进入Programming版参与讨论
1 (共1页)
f****s
发帖数: 315
1
【 以下文字转载自 JobHunting 讨论区 】
发信人: firecs (火), 信区: JobHunting
标 题: A tech question
发信站: BBS 未名空间站 (Sat Feb 10 20:03:58 2007)
how to force an inline function to be expanded at compile time? (eg in C++)
g**g
发帖数: 1575
2
__attribute__((always_inline))

【在 f****s 的大作中提到】
: 【 以下文字转载自 JobHunting 讨论区 】
: 发信人: firecs (火), 信区: JobHunting
: 标 题: A tech question
: 发信站: BBS 未名空间站 (Sat Feb 10 20:03:58 2007)
: how to force an inline function to be expanded at compile time? (eg in C++)

f****s
发帖数: 315
3
Thanks! Is this a C++ syntax? Never used it before.

【在 g**g 的大作中提到】
: __attribute__((always_inline))
g**g
发帖数: 1575
4
g++ suports that, i am not sure about other compilers

【在 f****s 的大作中提到】
: Thanks! Is this a C++ syntax? Never used it before.
1 (共1页)
进入Programming版参与讨论
相关主题
有谁知道怎么把matlab和VC联接着一起用? (转载)c++中的inline 函数是做什么的?
Question about a C++ compilation error on Visual Studio 2005C array
弱问mcc和mex的区别A C++ compiler related interview question
C++ optimization questionAn interesting C++ compile error
inline functions in C++谁来解释一下这个是compiler问题吗?
inline C function in VC++ 2005 express关于Makefile的一个问题
inline到底能省多少时间?关于C++ STL编译的疑问
请教C++里面这个表达question for C++ constant
相关话题的讨论汇总
话题: tech话题: question话题: c++话题: inline话题: feb