| 1581 | std::is_pointer<PointerType>::value&& |
| 1582 | std::is_const<typename std::remove_pointer<PointerType>::type>::value, int >::type = 0 > |
| 1583 | constexpr auto get_ptr() const noexcept -> decltype(std::declval<const basic_json_t&>().get_impl_ptr(std::declval<PointerType>())) |
| 1584 | { |
| 1585 | // delegate the call to get_impl_ptr<>() const |
| 1586 | return get_impl_ptr(static_cast<PointerType>(nullptr)); |
| 1587 | } |
| 1588 | |
| 1589 | private: |
| 1590 | /*! |