#include "direct_access.h" #include #include namespace NYT { //////////////////////////////////////////////////////////////////////////////// NGlobal::TErasedStorage GetGlobal3() noexcept; //////////////////////////////////////////////////////////////////////////////// static NGlobal::TVariable> TestVariable3{ TestTag3, &GetGlobal3, std::array{11, 22}}; //////////////////////////////////////////////////////////////////////////////// NGlobal::TErasedStorage GetGlobal3() noexcept { return NGlobal::TErasedStorage{TestVariable3.Get()}; } //////////////////////////////////////////////////////////////////////////////// std::array GetTestVariable3() { return TestVariable3.Get(); } void SetTestVariable3(std::array val) { TestVariable3.Set(val); } //////////////////////////////////////////////////////////////////////////////// } // namespace NYT