구조 #pragma once #include #include class IFlyweight { public: virtual void Operation() = 0; }; class Flyweight : public IFlyweight { public: void Operation() override { std::cout GetFlyweight("A"), flyweightFactory->GetFlyweight("B"), flyweightFactory->GetFlyweight("C"), flyweightFactory->GetFlyweight("C") }; for(IFlyweight* flyweight : flyweights) { flyweight->Operation(); } return 0; } 경량 (Flyw..