Skip to content

Commit

Permalink
imgui_stl: Comments (#2035)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocornut committed Aug 31, 2018
1 parent 36435b4 commit 9174958
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion misc/stl/imgui_stl.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
// 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.

// 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_stl.h"

Expand Down
6 changes: 5 additions & 1 deletion misc/stl/imgui_stl.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
// 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.

// 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:
// - v0.10: Initial version. Added InputText() / InputTextMultiline() calls with std::string

Expand Down

0 comments on commit 9174958

Please # to comment.