Author: mysqlpp
Date: Sat Dec 29 01:52:16 2007
New Revision: 2043
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2043&view=rev
Log:
Doxygen comment improvements
Modified:
trunk/lib/cpool.cpp
Modified: trunk/lib/cpool.cpp
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/cpool.cpp?rev=2043&r1=2042&r2=2043&view=diff
==============================================================================
--- trunk/lib/cpool.cpp (original)
+++ trunk/lib/cpool.cpp Sat Dec 29 01:52:16 2007
@@ -37,14 +37,15 @@
/// \brief Functor to test whether a given ConnectionInfo object is
/// "too old".
///
-/// This is a template only because ConnectionInfo is private. Making
-/// it a template means the private type is only used at the point of
-/// instantiation, where it is accessible.
+/// \internal This is a template only because ConnectionInfo is private.
+/// Making it a template means the private type is only used at the point
+/// of instantiation, where it is accessible.
template <typename ConnInfoT>
class TooOld : std::unary_function<ConnInfoT, bool>
{
public:
+#if !defined(DOXYGEN_IGNORE)
TooOld(unsigned int tmax) :
min_age_(time(0) - tmax)
{
@@ -55,6 +56,7 @@
return !conn_info.in_use && conn_info.last_used <= min_age_;
}
+#endif
private:
time_t min_age_;
};
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits