From a445f8f1aab68a9665673af839e109dc277d43f4 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 10 Mar 2017 15:55:11 -0800 Subject: 3786 https://www.reddit.com/r/badcode/comments/5xo3qv/its_better_to_have_it_all_on_one_line_right/delodzn --- 036refcount.cc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/036refcount.cc b/036refcount.cc index 6fd0cfc2..10d451ab 100644 --- a/036refcount.cc +++ b/036refcount.cc @@ -213,8 +213,17 @@ def main [ :(before "End type_tree Definition") struct address_element_info { - int offset; // where inside a container type (after flattening nested containers!) the address lies - const type_tree* payload_type; // all the information we need to compute sizes of items inside an address inside a container. Doesn't need to be a full-scale reagent, since an address inside a container can never be an array, and arrays are the only type that need to know their location to compute their size. + // Where inside a container type (after flattening nested containers!) the + // address lies + int offset; + + // All the information we need to compute sizes of items inside an address + // inside a container. `payload_type` Doesn't need to be a full-scale + // reagent, since an address inside a container can never be an array, and + // arrays are the only type that need to know their location to compute their + // size. + const type_tree* payload_type; + address_element_info(int o, const type_tree* p); address_element_info(const address_element_info& other); ~address_element_info(); -- cgit 1.4.1-2-gfad0