mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 08:56:40 +00:00
21 lines
269 B
C++
21 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;
|
|
|