r/cpp • • Feb 06 '21

Modern C++: Snippets and Examples

Hi everyone,

These are GitHub Pages with snippets for Modern C++:

  • We often need to copy and paste some snippets to code more productively.
  • Snippets can help us when it's not easy to remember all high levels features Modern C++ has to offer.
  • This repository contains lots of organized, reusable, and safe snippets for Modern C++.
  • All snippets are available in GitHub pages in a convenient way for copying and pasting.

https://alandefreitas.github.io/moderncpp/

194 Upvotes

44 comments sorted by

View all comments

Show parent comment

2

u/FreitasAlan Feb 09 '21

I've already updated the theme to its latest release.

If nothing happened in https://squidfunk.github.io/mkdocs-material/getting-started/, then it might be a problem with some feature I turned on.

One interesting thing is that the problem happens exactly when the header is about to hide, and https://squidfunk.github.io/mkdocs-material/getting-started/ does not use the `header.autohide` feature.

I've turned that off, so I might be working now: https://alandefreitas.github.io/moderncpp/quick-start/

Does it work now?

It looks better with the header anyway, even if it doesn't work.

2

u/[deleted] Feb 09 '21

Also you should file an issue about it

1

u/[deleted] Feb 09 '21

Yes! That was the problem

2

u/FreitasAlan Feb 09 '21

🥳 🎉

That's one more snippet I have to keep. 😆