[Opentnl-cvs] tnl/tnl tnlVector.h,1.5,1.6
Brought to you by:
mark_frohnmayer,
s_alanet
From: Mark F. <mar...@us...> - 2005-02-25 16:15:25
|
Update of /cvsroot/opentnl/tnl/tnl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22317/tnl Modified Files: tnlVector.h Log Message: Fixed Vector template compile on GCC 3.4.2 Updated dox generator Index: tnlVector.h =================================================================== RCS file: /cvsroot/opentnl/tnl/tnl/tnlVector.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** tnlVector.h 14 Feb 2005 06:15:28 -0000 1.5 --- tnlVector.h 25 Feb 2005 16:15:15 -0000 1.6 *************** *** 95,103 **** bool empty() const; - T& front(); - const T& front() const; - T& back(); - const T& back() const; - void push_front(const T&); void push_back(const T&); --- 95,98 ---- *************** *** 298,321 **** } - template<class T> inline T& Vector<T>::front() - { - return *begin(); - } - - template<class T> inline const T& Vector<T>::front() const - { - return *begin(); - } - - template<class T> inline T& Vector<T>::back() - { - return *end(); - } - - template<class T> inline const T& Vector<T>::back() const - { - return *end(); - } - template<class T> inline void Vector<T>::push_front(const T &x) { --- 293,296 ---- |