mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Doing things right OMEGALUL
This commit is contained in:
parent
3adac3402f
commit
caa71f2d71
|
@ -36,7 +36,7 @@ namespace stack {
|
||||||
if constexpr (!std::is_reference_v<X> && is_unique_usertype_v<X>) {
|
if constexpr (!std::is_reference_v<X> && is_unique_usertype_v<X>) {
|
||||||
using u_traits = unique_usertype_traits<meta::unqualified_t<X>>;
|
using u_traits = unique_usertype_traits<meta::unqualified_t<X>>;
|
||||||
using T = typename u_traits::type;
|
using T = typename u_traits::type;
|
||||||
if constexpr (!is_base_rebindable_non_void_v<u_traits>) {
|
if constexpr (is_base_rebindable_non_void_v<u_traits>) {
|
||||||
using rebind_t = typename u_traits::template rebind_base<void>;
|
using rebind_t = typename u_traits::template rebind_base<void>;
|
||||||
// we have a unique pointer type that can be
|
// we have a unique pointer type that can be
|
||||||
// rebound to a base/derived type
|
// rebound to a base/derived type
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// This file was generated with a script.
|
// This file was generated with a script.
|
||||||
// Generated 2019-04-13 08:51:54.424585 UTC
|
// Generated 2019-04-13 09:58:41.494320 UTC
|
||||||
// This header was generated with sol v3.0.1-beta2 (revision 6282ed4)
|
// This header was generated with sol v3.0.1-beta2 (revision 3adac34)
|
||||||
// https://github.com/ThePhD/sol2
|
// https://github.com/ThePhD/sol2
|
||||||
|
|
||||||
#ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP
|
#ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// This file was generated with a script.
|
// This file was generated with a script.
|
||||||
// Generated 2019-04-13 08:51:53.095601 UTC
|
// Generated 2019-04-13 09:58:41.191654 UTC
|
||||||
// This header was generated with sol v3.0.1-beta2 (revision 6282ed4)
|
// This header was generated with sol v3.0.1-beta2 (revision 3adac34)
|
||||||
// https://github.com/ThePhD/sol2
|
// https://github.com/ThePhD/sol2
|
||||||
|
|
||||||
#ifndef SOL_SINGLE_INCLUDE_HPP
|
#ifndef SOL_SINGLE_INCLUDE_HPP
|
||||||
|
@ -11075,7 +11075,7 @@ namespace stack {
|
||||||
if constexpr (!std::is_reference_v<X> && is_unique_usertype_v<X>) {
|
if constexpr (!std::is_reference_v<X> && is_unique_usertype_v<X>) {
|
||||||
using u_traits = unique_usertype_traits<meta::unqualified_t<X>>;
|
using u_traits = unique_usertype_traits<meta::unqualified_t<X>>;
|
||||||
using T = typename u_traits::type;
|
using T = typename u_traits::type;
|
||||||
if constexpr (!is_base_rebindable_non_void_v<u_traits>) {
|
if constexpr (is_base_rebindable_non_void_v<u_traits>) {
|
||||||
using rebind_t = typename u_traits::template rebind_base<void>;
|
using rebind_t = typename u_traits::template rebind_base<void>;
|
||||||
// we have a unique pointer type that can be
|
// we have a unique pointer type that can be
|
||||||
// rebound to a base/derived type
|
// rebound to a base/derived type
|
||||||
|
|
Loading…
Reference in New Issue
Block a user