mirror of
https://github.com/SerenityOS/serenity
synced 2024-11-05 17:46:52 +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;
|
|
|