using std::experimental::optional;
struct id_allocator {
- constexpr static const unsigned id_shift = 22;
- constexpr static const unsigned id_mask = (1 << id_shift) - 1;
-
unsigned next = 1;
// Surfaces that where requested but not yet created
Policy policy;
explicit App(wl::display *d);
- ~App();
+ ~App() = default;
App(App const &) = delete;
App &operator=(App const &) = delete;