imgui_stl: Comments (#2035)

This commit is contained in:
omar 2018-08-31 10:50:22 +02:00
parent 36435b43c7
commit 9174958b43
2 changed files with 10 additions and 2 deletions

View File

@ -1,7 +1,11 @@
// imgui_stl.cpp // imgui_stl.cpp
// Wrappers for STL types (std::string, etc.) // Wrappers for C++ standard library (STL) types (std::string, etc.)
// This is also an example of how you may wrap your own similar types. // This is also an example of how you may wrap your own similar types.
// Compatibility:
// - std::string support is only guaranteed to work from C++11.
// If you try to use it pre-C++11, please share your findings (w/ info about compiler/architecture)
#include "imgui.h" #include "imgui.h"
#include "imgui_stl.h" #include "imgui_stl.h"

View File

@ -1,7 +1,11 @@
// imgui_stl.h // imgui_stl.h
// Wrappers for STL types (std::string, etc.) // Wrappers for C++ standard library (STL) types (std::string, etc.)
// This is also an example of how you may wrap your own similar types. // This is also an example of how you may wrap your own similar types.
// Compatibility:
// - std::string support is only guaranteed to work from C++11.
// If you try to use it pre-C++11, please share your findings (w/ info about compiler/architecture)
// Changelog: // Changelog:
// - v0.10: Initial version. Added InputText() / InputTextMultiline() calls with std::string // - v0.10: Initial version. Added InputText() / InputTextMultiline() calls with std::string