Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: time_of_day::subseconds() #33

Closed
rbock opened this issue Dec 20, 2015 · 1 comment
Closed

Docs: time_of_day::subseconds() #33

rbock opened this issue Dec 20, 2015 · 1 comment

Comments

@rbock
Copy link

rbock commented Dec 20, 2015

Hi,

I believe there is a documentation error for time_of_day:

In time_of_day<std::chrono::duration<Rep, Period>>, instead of

   constexpr std::chrono::precision subseconds() const noexcept;

it should be

   constexpr precision subseconds() const noexcept;

And instead of

constexpr std::chrono::seconds time_of_day<std::chrono::duration<Rep, Period>>::subseconds() const noexcept;

it should be something like

constexpr
std::chrono::duration<Rep, Period>
time_of_day<std::chrono::duration<Rep, Period>>::subseconds() const noexcept;

Best,

Roland

@HowardHinnant
Copy link
Owner

Thanks!
Fixed in:
HowardHinnant/HowardHinnant.github.io@3e4faf1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants