martinmoene / ring-span-lite

ring-span lite - A C++yy-like ring_span type for C++98, C++11 and later in a single-file header-only library
Boost Software License 1.0
148 stars 12 forks source link

Compile issue in example #24

Closed DougRogers closed 1 year ago

DougRogers commented 1 year ago

In example 03-make-ring-span.cpp, if you define PROVIDE_MAKE_RING_SPAN_FROM_GENERIC_CONTAINER

You will get a compile error.

At line 156, the end of namespace should come before the #endif

156: #endif // PROVIDE_MAKE_RING_SPAN_FROM_GENERIC_CONTAINER 157: 158: } // namespace nonstd

martinmoene commented 1 year ago

Thanks for the heads-up!