Edit Bounded.h

Edit file, mostly for consistent capitalization and active voice.
pull/8738/head
Amanda Butler 2018-11-26 18:01:30 -06:00 committed by GitHub
parent ecf8c7320f
commit 451f9aad12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -29,15 +29,15 @@ namespace ble {
*
* @tparam Rep The C++ integer type used to represent the values.
* @tparam Min Minimum value allowed.
* @tparam Max maximum value allowed.
* @tparam Max Maximum value allowed.
*/
template<typename Rep, Rep Min, Rep Max>
struct Bounded {
/**
* Construct a bounded integer.
*
* If v is out of the range [Min : Max] then if it is less than Min the
* value of the bounded integer will be Min and if it greater than Max then
* If v is out of the range [Min : Max], then if it is less than Min, the
* value of the bounded integer will be Min. If it greater than Max, then
* the value of the bounded integer will be Max.
*
* @param v The value to store.
@ -64,7 +64,7 @@ struct Bounded {
/**
* The left-bound value.
*
* @return The lowest value that can be represented by this type
* @return The lowest value that this type can represent
*/
static Rep min()
{
@ -74,7 +74,7 @@ struct Bounded {
/**
* The right-bound value.
*
* @return The highest value that can be represented by this type
* @return The highest value that this type can represent
*/
static Rep max()
{