Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- src/main.cpp:6:21: error: no matching constructor for initialization of 'tgui::Picture::Ptr' (aka 'shared_ptr<tgui::Picture>')
- tgui::Picture::Ptr picture(gui);
- ^ ~~~
- /usr/include/c++/v1/memory:3761:23: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
- _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3786:5: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'const std::__1::shared_ptr<tgui::Picture>' for 1st argument
- shared_ptr(const shared_ptr& __r) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3792:5: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'std::__1::shared_ptr<tgui::Picture>' for 1st argument
- shared_ptr(shared_ptr&& __r) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3768:18: note: candidate template ignored: could not match '_Yp *' against 'tgui::Gui'
- explicit shared_ptr(_Yp* __p);
- ^
- /usr/include/c++/v1/memory:3788:9: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- shared_ptr(const shared_ptr<_Yp>& __r,
- ^
- /usr/include/c++/v1/memory:3793:25: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
- ^
- /usr/include/c++/v1/memory:3797:34: note: candidate template ignored: could not match 'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
- ^
- /usr/include/c++/v1/memory:3806:9: note: candidate template ignored: could not match 'auto_ptr<type-parameter-0-0>' against 'tgui::Gui'
- shared_ptr(auto_ptr<_Yp>&& __r);
- ^
- /usr/include/c++/v1/memory:3824:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- /usr/include/c++/v1/memory:3833:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- /usr/include/c++/v1/memory:3775:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
- shared_ptr(_Yp* __p, _Dp __d);
- ^
- /usr/include/c++/v1/memory:3782:9: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided
- shared_ptr(_Yp* __p, _Dp __d, _Alloc __a);
- ^
- /usr/include/c++/v1/memory:3783:26: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
- template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
- ^
- /usr/include/c++/v1/memory:3784:40: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided
- template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, _Alloc __a);
- ^
- /usr/include/c++/v1/memory:3785:25: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
- template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_type* __p) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3760:23: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
- _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
- ^
- src/main.cpp:11:19: error: no matching constructor for initialization of 'tgui::Label::Ptr' (aka 'shared_ptr<tgui::Label>')
- tgui::Label::Ptr labelUsername(gui);
- ^ ~~~
- /usr/include/c++/v1/memory:3761:23: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
- _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3786:5: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'const std::__1::shared_ptr<tgui::Label>' for 1st argument
- shared_ptr(const shared_ptr& __r) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3792:5: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'std::__1::shared_ptr<tgui::Label>' for 1st argument
- shared_ptr(shared_ptr&& __r) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3768:18: note: candidate template ignored: could not match '_Yp *' against 'tgui::Gui'
- explicit shared_ptr(_Yp* __p);
- ^
- /usr/include/c++/v1/memory:3788:9: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- shared_ptr(const shared_ptr<_Yp>& __r,
- ^
- /usr/include/c++/v1/memory:3793:25: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
- ^
- /usr/include/c++/v1/memory:3797:34: note: candidate template ignored: could not match 'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
- ^
- /usr/include/c++/v1/memory:3806:9: note: candidate template ignored: could not match 'auto_ptr<type-parameter-0-0>' against 'tgui::Gui'
- shared_ptr(auto_ptr<_Yp>&& __r);
- ^
- /usr/include/c++/v1/memory:3824:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- /usr/include/c++/v1/memory:3833:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- /usr/include/c++/v1/memory:3775:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
- shared_ptr(_Yp* __p, _Dp __d);
- ^
- /usr/include/c++/v1/memory:3782:9: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided
- shared_ptr(_Yp* __p, _Dp __d, _Alloc __a);
- ^
- /usr/include/c++/v1/memory:3783:26: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
- template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
- ^
- /usr/include/c++/v1/memory:3784:40: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided
- template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, _Alloc __a);
- ^
- /usr/include/c++/v1/memory:3785:25: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
- template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_type* __p) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3760:23: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
- _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
- ^
- src/main.cpp:16:19: error: no matching constructor for initialization of 'tgui::Label::Ptr' (aka 'shared_ptr<tgui::Label>')
- tgui::Label::Ptr labelPassword(gui);
- ^ ~~~
- /usr/include/c++/v1/memory:3761:23: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
- _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3786:5: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'const std::__1::shared_ptr<tgui::Label>' for 1st argument
- shared_ptr(const shared_ptr& __r) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3792:5: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'std::__1::shared_ptr<tgui::Label>' for 1st argument
- shared_ptr(shared_ptr&& __r) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3768:18: note: candidate template ignored: could not match '_Yp *' against 'tgui::Gui'
- explicit shared_ptr(_Yp* __p);
- ^
- /usr/include/c++/v1/memory:3788:9: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- shared_ptr(const shared_ptr<_Yp>& __r,
- ^
- /usr/include/c++/v1/memory:3793:25: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
- ^
- /usr/include/c++/v1/memory:3797:34: note: candidate template ignored: could not match 'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
- ^
- /usr/include/c++/v1/memory:3806:9: note: candidate template ignored: could not match 'auto_ptr<type-parameter-0-0>' against 'tgui::Gui'
- shared_ptr(auto_ptr<_Yp>&& __r);
- ^
- /usr/include/c++/v1/memory:3824:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- /usr/include/c++/v1/memory:3833:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- /usr/include/c++/v1/memory:3775:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
- shared_ptr(_Yp* __p, _Dp __d);
- ^
- /usr/include/c++/v1/memory:3782:9: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided
- shared_ptr(_Yp* __p, _Dp __d, _Alloc __a);
- ^
- /usr/include/c++/v1/memory:3783:26: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
- template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
- ^
- /usr/include/c++/v1/memory:3784:40: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided
- template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, _Alloc __a);
- ^
- /usr/include/c++/v1/memory:3785:25: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
- template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_type* __p) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3760:23: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
- _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
- ^
- src/main.cpp:21:21: error: no matching constructor for initialization of 'tgui::EditBox::Ptr' (aka 'shared_ptr<tgui::EditBox>')
- tgui::EditBox::Ptr editBoxUsername(gui, "Username");
- ^ ~~~~~~~~~~~~~~~
- /usr/include/c++/v1/memory:3783:26: note: candidate constructor [with _Dp = const char *] not viable: no known conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
- template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
- ^
- /usr/include/c++/v1/memory:3775:9: note: candidate template ignored: could not match '_Yp *' against 'tgui::Gui'
- shared_ptr(_Yp* __p, _Dp __d);
- ^
- /usr/include/c++/v1/memory:3785:25: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_type* __p) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3788:9: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- shared_ptr(const shared_ptr<_Yp>& __r,
- ^
- /usr/include/c++/v1/memory:3793:25: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
- ^
- /usr/include/c++/v1/memory:3797:34: note: candidate template ignored: could not match 'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
- ^
- /usr/include/c++/v1/memory:3824:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- /usr/include/c++/v1/memory:3833:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- /usr/include/c++/v1/memory:3768:18: note: candidate constructor template not viable: requires single argument '__p', but 2 arguments were provided
- explicit shared_ptr(_Yp* __p);
- ^
- /usr/include/c++/v1/memory:3782:9: note: candidate constructor template not viable: requires 3 arguments, but 2 were provided
- shared_ptr(_Yp* __p, _Dp __d, _Alloc __a);
- ^
- /usr/include/c++/v1/memory:3784:40: note: candidate constructor template not viable: requires 3 arguments, but 2 were provided
- template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, _Alloc __a);
- ^
- /usr/include/c++/v1/memory:3806:9: note: candidate constructor template not viable: requires single argument '__r', but 2 arguments were provided
- shared_ptr(auto_ptr<_Yp>&& __r);
- ^
- /usr/include/c++/v1/memory:3760:23: note: candidate constructor not viable: requires 0 arguments, but 2 were provided
- _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3761:23: note: candidate constructor not viable: requires 1 argument, but 2 were provided
- _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3786:5: note: candidate constructor not viable: requires single argument '__r', but 2 arguments were provided
- shared_ptr(const shared_ptr& __r) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3792:5: note: candidate constructor not viable: requires single argument '__r', but 2 arguments were provided
- shared_ptr(shared_ptr&& __r) _NOEXCEPT;
- ^
- src/main.cpp:27:43: error: no member named 'copy' in 'tgui::Gui'
- tgui::EditBox::Ptr editBoxPassword = gui.copy(editBoxUsername, "Password");
- ~~~ ^
- src/main.cpp:32:20: error: no matching constructor for initialization of 'tgui::Button::Ptr' (aka 'shared_ptr<tgui::Button>')
- tgui::Button::Ptr button(gui);
- ^ ~~~
- /usr/include/c++/v1/memory:3761:23: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
- _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3786:5: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'const std::__1::shared_ptr<tgui::Button>' for 1st argument
- shared_ptr(const shared_ptr& __r) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3792:5: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'std::__1::shared_ptr<tgui::Button>' for 1st argument
- shared_ptr(shared_ptr&& __r) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3768:18: note: candidate template ignored: could not match '_Yp *' against 'tgui::Gui'
- explicit shared_ptr(_Yp* __p);
- ^
- /usr/include/c++/v1/memory:3788:9: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- shared_ptr(const shared_ptr<_Yp>& __r,
- ^
- /usr/include/c++/v1/memory:3793:25: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
- ^
- /usr/include/c++/v1/memory:3797:34: note: candidate template ignored: could not match 'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
- ^
- /usr/include/c++/v1/memory:3806:9: note: candidate template ignored: could not match 'auto_ptr<type-parameter-0-0>' against 'tgui::Gui'
- shared_ptr(auto_ptr<_Yp>&& __r);
- ^
- /usr/include/c++/v1/memory:3824:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- /usr/include/c++/v1/memory:3833:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- /usr/include/c++/v1/memory:3775:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
- shared_ptr(_Yp* __p, _Dp __d);
- ^
- /usr/include/c++/v1/memory:3782:9: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided
- shared_ptr(_Yp* __p, _Dp __d, _Alloc __a);
- ^
- /usr/include/c++/v1/memory:3783:26: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
- template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
- ^
- /usr/include/c++/v1/memory:3784:40: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided
- template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, _Alloc __a);
- ^
- /usr/include/c++/v1/memory:3785:25: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
- template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_type* __p) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3760:23: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
- _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
- ^
- src/main.cpp:37:37: error: no member named 'LeftMouseClicked' in 'tgui::Button'
- button->bindCallback(tgui::Button::LeftMouseClicked);
- ~~~~~~~~~~~~~~^
- src/main.cpp:68:14: error: no member named 'pollCallback' in 'tgui::Gui'
- while (gui.pollCallback(callback))
- ~~~ ^
- src/main.cpp:74:24: error: no viable conversion from 'shared_ptr<class tgui::Widget>' to 'shared_ptr<class tgui::EditBox>'
- tgui::EditBox::Ptr editBoxUsername = gui.get("Username");
- ^ ~~~~~~~~~~~~~~~~~~~
- /usr/include/c++/v1/memory:3761:23: note: candidate constructor not viable: no known conversion from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to 'nullptr_t' for 1st argument
- _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3786:5: note: candidate constructor not viable: no known conversion from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to 'const std::__1::shared_ptr<tgui::EditBox> &' for 1st argument
- shared_ptr(const shared_ptr& __r) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3792:5: note: candidate constructor not viable: no known conversion from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to 'std::__1::shared_ptr<tgui::EditBox> &&' for 1st argument
- shared_ptr(shared_ptr&& __r) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3789:39: note: candidate template ignored: disabled by 'enable_if' [with _Yp = tgui::Widget]
- typename enable_if<is_convertible<_Yp*, _Tp*>::value, __nat>::type = __nat())
- ^
- /usr/include/c++/v1/memory:3794:39: note: candidate template ignored: disabled by 'enable_if' [with _Yp = tgui::Widget]
- typename enable_if<is_convertible<_Yp*, _Tp*>::value, __nat>::type = __nat())
- ^
- /usr/include/c++/v1/memory:3806:9: note: candidate template ignored: could not match 'auto_ptr' against 'shared_ptr'
- shared_ptr(auto_ptr<_Yp>&& __r);
- ^
- /usr/include/c++/v1/memory:3824:8: note: candidate template ignored: could not match 'unique_ptr' against 'shared_ptr'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- /usr/include/c++/v1/memory:3833:8: note: candidate template ignored: could not match 'unique_ptr' against 'shared_ptr'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- src/main.cpp:75:24: error: no viable conversion from 'shared_ptr<class tgui::Widget>' to 'shared_ptr<class tgui::EditBox>'
- tgui::EditBox::Ptr editBoxPassword = gui.get("Password");
- ^ ~~~~~~~~~~~~~~~~~~~
- /usr/include/c++/v1/memory:3761:23: note: candidate constructor not viable: no known conversion from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to 'nullptr_t' for 1st argument
- _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3786:5: note: candidate constructor not viable: no known conversion from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to 'const std::__1::shared_ptr<tgui::EditBox> &' for 1st argument
- shared_ptr(const shared_ptr& __r) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3792:5: note: candidate constructor not viable: no known conversion from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to 'std::__1::shared_ptr<tgui::EditBox> &&' for 1st argument
- shared_ptr(shared_ptr&& __r) _NOEXCEPT;
- ^
- /usr/include/c++/v1/memory:3789:39: note: candidate template ignored: disabled by 'enable_if' [with _Yp = tgui::Widget]
- typename enable_if<is_convertible<_Yp*, _Tp*>::value, __nat>::type = __nat())
- ^
- /usr/include/c++/v1/memory:3794:39: note: candidate template ignored: disabled by 'enable_if' [with _Yp = tgui::Widget]
- typename enable_if<is_convertible<_Yp*, _Tp*>::value, __nat>::type = __nat())
- ^
- /usr/include/c++/v1/memory:3806:9: note: candidate template ignored: could not match 'auto_ptr' against 'shared_ptr'
- shared_ptr(auto_ptr<_Yp>&& __r);
- ^
- /usr/include/c++/v1/memory:3824:8: note: candidate template ignored: could not match 'unique_ptr' against 'shared_ptr'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- /usr/include/c++/v1/memory:3833:8: note: candidate template ignored: could not match 'unique_ptr' against 'shared_ptr'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- 10 errors generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement