Re: [Doxygen-users] documenting multiple methods defined by a single macro - help
Brought to you by:
dimitri
From: Sven B. <sv...@as...> - 2005-11-29 12:49:38
|
Holy shit, I think when you spend time to document these sources, you could also spend some time to throw away these old code fragments. As I see, you use the boost library, so your compiler should be able to handle it and the STL. On Tuesday 29 November 2005 09:40, Manfred Doudar wrote: > #define RESHAPE_DIM_MAX 10 > this kind of constant definition is obsolete. > #define RESHAPE(z, N, _) \ > \ > static void reshape(const blitz::Array<T, BOOST_PP_INC(N)>& btz, \ > MoeArray<T>& data \ > ) \ > throw(); \ > \ > static boost::shared_ptr<MoeArray<T> > \ > reshape(const blitz::Array<T, BOOST_PP_INC(N)>& btz) throw(); \ > /**/ > > > BOOST_PP_REPEAT(BOOST_PP_INC(RESHAPE_DIM_MAX), RESHAPE, _) > > #undef RESHAPE > this is also obsolete. use typedef instead. Greetz, Sven |