Timeline for Chained Factories by Expression Template
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 16, 2018 at 18:39 | comment | added | R zu | In the end, I make a chain of bracktracker object to hold a temporary chain of forward linkages that is built from the backward linkage in each maker. Then, I cascade requirements from emitted by each maker to later makers. | |
| May 16, 2018 at 17:24 | comment | added | R zu | Can't make a doubly linked list if I track both prev and next by template parameters. | |
| May 16, 2018 at 16:38 | comment | added | R zu | Probably need a doubly linked list of makers if I want to propagate requirements between the factories before making. Before the chain is complete, I can't pass requirements unless I use a buffer interface. After the chain is complete, I need to backtrack to the first maker and then propagate requirements from 1st to last maker. Finally, the object is made from the last maker to the 1st maker as an onion of layers. | |
| May 16, 2018 at 10:35 | history | tweeted | twitter.com/StackCodeReview/status/996700689635082240 | ||
| May 16, 2018 at 4:34 | comment | added | R zu | I thought about the alternative: make_pile(A_maker(2, 3), B_maker(3, 4), ...) and each maker would not track earlier makers. But that means passing requirements between makers need a stream interface, and buffer. That means the compiler have 0 chance to optimize away the construction by the factories. | |
| May 16, 2018 at 4:22 | history | edited | R zu | CC BY-SA 4.0 | added 1553 characters in body |
| May 15, 2018 at 20:35 | history | edited | R zu | CC BY-SA 4.0 | added 49 characters in body |
| May 15, 2018 at 20:11 | history | edited | R zu | CC BY-SA 4.0 | added 251 characters in body |
| May 15, 2018 at 20:05 | history | asked | R zu | CC BY-SA 4.0 |