由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - [合集] Inline member function in C++
相关主题
interview questions请教问题
Default function template arguments[合集] three worst thing about C++(题目)
不算小的一个c++项目的code可以用什么工具自动生成吗在看the effective C++language
inline functions in C++static variable in template header
A tech question (转载)基础问题:在header里面define function
inline C function in VC++ 2005 expressinline到底能省多少时间?
有什么办法可以查每行代码用的时间?请问C++返回值和返回引用区别
interview question: make all class member functions virtual (转载)C++方法全都内联有什么坏处?
相关话题的讨论汇总
话题: inline话题: member话题: cpp话题: c++话题: file
进入Programming版参与讨论
1 (共1页)
b***y
发帖数: 2799
1
☆─────────────────────────────────────☆
isup (No) 于 (Fri Feb 8 19:50:44 2008) 提到:
I want to put the class definition in one .h file, and all inline member
fuction in one .cpp file. By this way, I can hide the souce code from the
class client. It seems not work when I put main() in another .cpp file and
compile the both .cpp files. The error messages say the inline member
funtions are Undefined.
Is it possible to hide the inline member functions' code?
☆─────────────────────────────────────
1 (共1页)
进入Programming版参与讨论
相关主题
C++方法全都内联有什么坏处?A tech question (转载)
请教C++里面这个表达inline C function in VC++ 2005 express
double's equality有什么办法可以查每行代码用的时间?
c++中的inline 函数是做什么的?interview question: make all class member functions virtual (转载)
interview questions请教问题
Default function template arguments[合集] three worst thing about C++(题目)
不算小的一个c++项目的code可以用什么工具自动生成吗在看the effective C++language
inline functions in C++static variable in template header
相关话题的讨论汇总
话题: inline话题: member话题: cpp话题: c++话题: file