Add Doxygen comments for namespaces (#1245)

This commit is contained in:
Peter Johnson
2018-07-29 12:49:28 -07:00
committed by GitHub
parent 00c2cd7dab
commit 9408fd5176
6 changed files with 11 additions and 4 deletions

View File

@@ -26,7 +26,10 @@
#include "wpi/mutex.h"
#include "wpi/raw_ostream.h"
/** WPILib C++ utilities (wpiutil) namespace */
namespace wpi {
/** Java Native Interface (JNI) utility functions */
namespace java {
// Gets a Java stack trace. Also provides the last function

View File

@@ -1080,9 +1080,9 @@ struct from_json_fn
};
}
/// namespace to hold default `from_json` function
/// to see why this is required:
/// http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4381.html
// namespace to hold default `from_json` function
// to see why this is required:
// http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4381.html
namespace
{
constexpr const auto& from_json = detail::static_const<detail::from_json_fn>::value;
@@ -1400,7 +1400,7 @@ struct to_json_fn
};
}
/// namespace to hold default `to_json` function
// namespace to hold default `to_json` function
namespace
{
constexpr const auto& to_json = detail::static_const<detail::to_json_fn>::value;