mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
.upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@14169 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
134ac490da
commit
718f360c24
2 changed files with 6 additions and 2 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include <vector>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <list>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
|
|
@ -29,6 +30,7 @@ GUI_APP_MAIN
|
|||
std::string std_string = "Hello world!";
|
||||
std::wstring std_wstring = wstring.ToStd();
|
||||
std::vector<std::string> std_vector { "I", "II", "III", "IV", "V" };
|
||||
std::list<std::string> std_list { "I", "II", "III", "IV", "V" };
|
||||
std::set<std::string> std_set { "I", "II", "III", "IV", "V" };
|
||||
std::multiset<std::string> std_multiset { "I", "II", "III", "IV", "V" };
|
||||
std::map<int, std::string> std_map { { 1 , "I"}, { 2, "II" }, { 3, "III"}, { 4, "IV"}, { 5, "V" } };
|
||||
|
|
|
|||
|
|
@ -3,11 +3,13 @@
|
|||
#include <vector>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <list>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
VectorMap<int, String> vectormap { { 1 , "I"}, { 2, "II" }, { 3, "III"}, { 4, "IV"}, { 5, "V" } };
|
||||
std::map<int, std::string> std_map { { 1 , "I"}, { 2, "II" }, { 3, "III"}, { 4, "IV"}, { 5, "V" } };
|
||||
// std::set<int> s;
|
||||
std::list<int> l0;
|
||||
std::list<int> l = { 1, 2, 3, 4 };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue