I remember functions defined in class are inline functions.
p*n
4 楼
right
【在 f******y 的大作中提到】 : I remember functions defined in class are inline functions.
r*r
5 楼
NR is known for its ugly code. gsl is better.
b*a
6 楼
what's GSL?
【在 r*********r 的大作中提到】 : NR is known for its ugly code. gsl is better.
k*f
7 楼
Inline is just a hint to the compiler, which can ignore it completely as in the case of bebug mode. In general, if a member function is too complicated to the compiler, e.g. has a loop in the implementation, it will be compiled as out of line function.
【在 f******y 的大作中提到】 : I remember functions defined in class are inline functions.
r*r
8 楼
gsl is GNU scientific library.
f*y
9 楼
right, so NR just gives everything to the compiler, and let it choose.
in complicated compiled
【在 k**f 的大作中提到】 : : Inline is just a hint to the compiler, which can ignore it completely as in : the case of bebug mode. In general, if a member function is too complicated : to the compiler, e.g. has a loop in the implementation, it will be compiled : as out of line function.