| 
    MGL(Win32)
    
   | 
 
シングルトンテンプレート(共有ライブラリ用) [詳解]
#include <mgl_singleton.h>
公開メンバ関数 | |
| SharedSingleton (const SharedSingleton &) noexcept=delete | |
| SharedSingleton & | operator= (const SharedSingleton &) noexcept=delete | 
| SharedSingleton (SharedSingleton &&) noexcept=delete | |
| SharedSingleton & | operator= (SharedSingleton &&) noexcept=delete | 
静的公開メンバ関数 | |
| static T & | CreateInstance (Args... args) noexcept | 
| インスタンスの生成   | |
| static T & | GetInstance () noexcept | 
| インスタンスの取得   | |
| static void | DestroyInstance () noexcept | 
| インスタンスの破棄  | |
| static bool | HasInstance () noexcept | 
| 有効なインスタンスを保持しているかを取得   | |
シングルトンテンプレート(共有ライブラリ用)
      
  | 
  inlinestaticnoexcept | 
インスタンスの生成
      
  | 
  inlinestaticnoexcept | 
インスタンスの取得
      
  | 
  inlinestaticnoexcept | 
有効なインスタンスを保持しているかを取得
| true | 有効 | 
| false | 無効 |