From 287e32fe4ab452a7ee8da1e55938eb7c193370e3 Mon Sep 17 00:00:00 2001 From: cxl Date: Sun, 19 Jul 2015 17:54:39 +0000 Subject: [PATCH] .upptst git-svn-id: svn://ultimatepp.org/upp/trunk@8707 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- upptst/Assist/main.cpp | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/upptst/Assist/main.cpp b/upptst/Assist/main.cpp index a1b67c370..bcbf8fb0e 100644 --- a/upptst/Assist/main.cpp +++ b/upptst/Assist/main.cpp @@ -51,6 +51,16 @@ void Autocomplete() One()-> } +void Autocomplete() +{ // Check that this displays One autocomplete (not String) + One(). +} + +void Autocomplete() +{ // Displays String, it is OK as Single is function + Single(). +} + void Autocomplete() { Single()-> @@ -157,7 +167,13 @@ void Autocomplete() void Autocomplete() { Vector v; - v.begin(). + v.begin()-> +} + +void Autocomplete() +{ + Array v; + v.begin()-> } void Autocomplete() @@ -167,6 +183,13 @@ void Autocomplete() x. } +void Autocomplete() +{ + Array v; + for(const auto& i : v) + i. +} + void Autocomplete() { Vector v; @@ -176,7 +199,14 @@ void Autocomplete() void Autocomplete() { - String txt[2]; // does not work!!!! + std::vector v; // does not work yet!!! + for(const auto& i : v) + i. +} + +void Autocomplete() +{ + String txt[2]; // does not work yet!!!! txt[1]. }