mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
20 lines
269 B
C++
20 lines
269 B
C++
#pragma once
|
|
|
|
namespace AK {
|
|
|
|
template<typename T>
|
|
class Badge {
|
|
friend T;
|
|
Badge() {}
|
|
|
|
Badge(const Badge&) = delete;
|
|
Badge& operator=(const Badge&) = delete;
|
|
|
|
Badge(Badge&&) = delete;
|
|
Badge& operator=(Badge&&) = delete;
|
|
};
|
|
|
|
}
|
|
|
|
using AK::Badge;
|
|
|