boostorg / range

Boost.org range module
http://boost.org/libs/range
43 stars 104 forks source link

Add compile-time warning to deprecated headers #101

Closed Kojoley closed 4 years ago

Romain-Geissler-1A commented 3 years ago

Hi,

This pull requests is the source of issue #106. The problem is, these top level headers are being included explicitly by the top-level file "boost/range.hpp". I suggest to also update "boost/range.hpp" to include the new files instead, and I would directly define the old names inside the new file, marking them as [[deprecated]] so that people get warnings when using the old names.

Cheers, Romain