WAYLAND_DETAIL_BASIC_WRAPPER(3)
πΈ NAME πΈ
okay so this is the manual page for wayland::detail::basic_wrapper< native_t > β section 3 of the Wayland++ docs, bestie β and it's literally the non-refcounted wrapper for C objects β¨
π SYNOPSIS π
#include <wayland-util.hpp>
π DETAILED DESCRIPTION π
π¦ the class itself π¦
template<typename native_t>
class wayland::detail::basic_wrapper< native_t >
So bestie, what we have here is a non-refcounted wrapper for C objects β that's the whole vibe, that's the assignment π
By default it's copyable β¨ which is cute and convenient and everything, but if that's not what you want, you gotta delete the copy constructor and the copy assignment operator over in your derived classes. Both of them. Not one. Both. No cap π
fr fr, it says "This is by default copyable. If this is not desired, delete the copy constructor and copy assignment operator in derived classes." β so if you skip one of those two, you did not actually do the thing, and the vibe check will catch you π
And where does it live? Definition at line 74 of file wayland-util.hpp π go look, it's right there, iconic.
β AUTHOR β
This page was generated automatically by Doxygen for Wayland++ from the source code β so nobody hand-wrote it, it just kinda materialized, main character energy of the build system honestly π§
and that's the whole page!! ty for reading, mwah π«Ά
Version 1.0.1 β dated Fri Mar 27 2026 β that's the footer, and this is me signing off π
π¦ where this page comes from
- ubuntu stonking: waylandpp-dev 1.0.1-2 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms