Move GMX_CXX11 to config.h
[alexxy/gromacs.git] / src / gromacs / utility / uniqueptr.h
index c9157f9755c05247aedc972280a90b45b0de2032..93d376cd8a1da0e38cb83c8172819759cc175ec9 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -32,7 +32,7 @@
  * To help us fund GROMACS development, we humbly ask that you cite
  * the research papers on the package. Check out http://www.gromacs.org.
  */
-/*! \file
+/*! \libinternal \file
  * \brief
  * Declares gmx::gmx_unique_ptr and supporting functionality.
  *
@@ -44,7 +44,7 @@
 #ifndef GMX_UTILITY_UNIQUEPTR_H
 #define GMX_UTILITY_UNIQUEPTR_H
 
-#include "gmx_header_config.h"
+#include "config.h"
 
 #ifdef GMX_CXX11 // C++11 Compiler
 #include <memory>
@@ -56,7 +56,8 @@
 namespace gmx
 {
 
-/*! \class gmx_unique_ptr
+//! \cond libapi
+/*! \libinternal \class gmx_unique_ptr
  * \brief
  * Smart pointer for unique ownership.
  *
@@ -73,7 +74,7 @@ namespace gmx
  * \ingroup module_utility
  * \inlibraryapi
  */
-/*! \typedef gmx_unique_ptr::type
+/*! \libinternal \typedef gmx_unique_ptr::type
  * \brief The smart pointer type.
  * Work-around for the non-existence of template typedefs in C++03.
  */
@@ -105,6 +106,7 @@ struct gmx_unique_ptr
     typedef boost::shared_ptr<T> type;
 };
 #endif
+//! \endcond
 
 } // namespace gmx