From f3b504bc058162ec7f46280263fbd8bf72175f50 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 19 Feb 2016 02:53:19 -0800 Subject: 2681 --- 058shape_shifting_container.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/058shape_shifting_container.cc b/058shape_shifting_container.cc index 05466e3d..a49b8a0e 100644 --- a/058shape_shifting_container.cc +++ b/058shape_shifting_container.cc @@ -228,7 +228,7 @@ bool contains_type_ingredient(const type_tree* type) { return contains_type_ingredient(type->left) || contains_type_ingredient(type->right); } -// ugly and likely wrong; maybe avoid replacing in place? +// todo: too complicated and likely incomplete; maybe avoid replacing in place? Maybe process element_type and element_type_name in separate functions? void replace_type_ingredients(type_tree* element_type, string_tree* element_type_name, const type_tree* callsite_type, const string_tree* callsite_type_name, const type_info& container_info) { if (!callsite_type) return; // error but it's already been raised above if (!element_type) return; -- cgit 1.4.1-2-gfad0