summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-08-07 16:52:48 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-09-11 23:44:05 -0300
commita63cfcafc7f8524dfad4e1bba763fb17c69d50e1 (patch)
treeadc59470b9cb5f6458351842bcc82de523dec247 /src/lib/eolian_cxx
parent98229bc5d6cf1ebe11af4bb05a32f2a30b470f6e (diff)
eolian-cxx: Implement future template class for C++
Diffstat (limited to 'src/lib/eolian_cxx')
-rw-r--r--src/lib/eolian_cxx/grammar/type_impl.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/eolian_cxx/grammar/type_impl.hpp b/src/lib/eolian_cxx/grammar/type_impl.hpp
index 6e18b2bda1..ac1118f077 100644
--- a/src/lib/eolian_cxx/grammar/type_impl.hpp
+++ b/src/lib/eolian_cxx/grammar/type_impl.hpp
@@ -256,7 +256,13 @@ struct visitor_generate
256 , {"promise", nullptr, nullptr, [&] 256 , {"promise", nullptr, nullptr, [&]
257 { 257 {
258 return replace_outer 258 return replace_outer
259 (complex, regular_type_def{" ::efl::eina::future", complex.outer.base_qualifier, {}}); 259 (complex, regular_type_def{" ::efl::promise", complex.outer.base_qualifier, {}});
260 }
261 }
262 , {"future", nullptr, nullptr, [&]
263 {
264 return replace_outer
265 (complex, regular_type_def{" ::efl::shared_future", complex.outer.base_qualifier, {}});
260 } 266 }
261 } 267 }
262 , {"iterator", nullptr, nullptr, [&] 268 , {"iterator", nullptr, nullptr, [&]