Commit 0c4e0372 authored by Dean Moldovan's avatar Dean Moldovan
Browse files

Improve PYBIND11_DEPRECATED by showing the message on all compilers

GCC supports `deprecated(msg)` since v4.5 and VS supports the standard
[[deprecated(msg)]] since 2015 RTM.

The deprecated constructor change from `= default` to `{}` is
a workaround for a VS2015 bug.
parent 36f0a15a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment