##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::chrono::duration_values::max

From cppreference.com
< cpp‎ | chrono‎ | duration values

static constexpr Rep max(); |  |

Returns the largest possible representation.

### [edit] Parameters

(none)

### [edit] Return value

returns std::numeric_limits<Rep>::max()

### [edit] See also

max [static] | returns the special duration value max (public static member function of `std::chrono::duration`) [edit]
zero [static] | returns a zero-length representation (public static member function) [edit]
min [static] | returns the smallest possible representation (public static member function) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/chrono/duration_values/max&oldid=57215"