簡單輕量級的 C++11 的 IoC 容器:Infector++

jopen 11年前發布 | 72K 次閱讀 面向方面AOP/IoC Infector++

Infector++是一個輕量級的 IoC 容器用于實現依賴注入。易于使用。

功能特性:

  • Exception safety (STRONG GUARANTEE)
  • Virtually remove memory leaks
  • Lightweight and simple
  • No compilation (few headers only)
  • Clean API
  • Typesafe
  • Non-intrusive (constructor injection without code generation)
  • Lazy instantiation (everything is created only when needed)
  • C++11 (requires GCC 4.6 or greater, Clang 3.0 or greater, VisualStudio 2012)

簡單輕量級的 C++11 的 IoC 容器:Infector++

Basic Tutorial

Given the following class diagram (your existing code design): 簡單輕量級的 C++11 的 IoC 容器:Infector++

項目主頁:http://www.baiduhome.net/lib/view/home/1377142364928

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!