@@ -95,14 +95,14 @@ struct self_care_component_t {
95
95
// Extend flow services
96
96
constexpr static auto config = cib::config(
97
97
98
- cib::extend<morning_routine_t >(self_care_component_t ::WAKE_UP >>
99
- self_care_component_t ::EXERCISE >>
100
- self_care_component_t ::TAKE_BATH),
101
-
102
- cib::extend<evening_routine_t >(self_care_component_t ::EXERCISE >>
103
- self_care_component_t ::TAKE_BATH >>
104
- self_care_component_t ::RELAX >>
105
- self_care_component_t ::GO_TO_BED));
98
+ cib::extend<morning_routine_t >(+ self_care_component_t ::WAKE_UP >>
99
+ + self_care_component_t ::EXERCISE >>
100
+ + self_care_component_t ::TAKE_BATH),
101
+
102
+ cib::extend<evening_routine_t >(+ self_care_component_t ::EXERCISE >>
103
+ + self_care_component_t ::TAKE_BATH >>
104
+ + self_care_component_t ::RELAX >>
105
+ + self_care_component_t ::GO_TO_BED));
106
106
};
107
107
108
108
struct food_component_t {
@@ -119,10 +119,10 @@ struct food_component_t {
119
119
constexpr static auto config = cib::config(
120
120
121
121
cib::extend<morning_routine_t >(self_care_component_t ::TAKE_BATH >>
122
- food_component_t ::BREAKFAST),
122
+ + food_component_t ::BREAKFAST),
123
123
124
124
cib::extend<evening_routine_t >(self_care_component_t ::RELAX >>
125
- food_component_t ::DINNER >>
125
+ + food_component_t ::DINNER >>
126
126
self_care_component_t ::GO_TO_BED));
127
127
};
128
128
@@ -142,14 +142,14 @@ struct dress_up_component_t {
142
142
143
143
cib::extend<morning_routine_t >(
144
144
self_care_component_t ::WAKE_UP >>
145
- dress_up_component_t ::GET_READY_FOR_EXERCISE >>
145
+ + dress_up_component_t ::GET_READY_FOR_EXERCISE >>
146
146
self_care_component_t ::EXERCISE >>
147
147
self_care_component_t ::TAKE_BATH >>
148
- dress_up_component_t ::GET_READY_TO_WORK >>
148
+ + dress_up_component_t ::GET_READY_TO_WORK >>
149
149
food_component_t ::BREAKFAST),
150
150
151
151
cib::extend<evening_routine_t >(
152
- dress_up_component_t ::GET_READY_FOR_EXERCISE >>
152
+ + dress_up_component_t ::GET_READY_FOR_EXERCISE >>
153
153
self_care_component_t ::EXERCISE));
154
154
};
155
155
@@ -167,10 +167,10 @@ struct commute_component_t {
167
167
constexpr static auto config = cib::config(
168
168
169
169
cib::extend<morning_routine_t >(food_component_t ::BREAKFAST >>
170
- commute_component_t ::GO_TO_OFFICE),
170
+ + commute_component_t ::GO_TO_OFFICE),
171
171
172
172
cib::extend<evening_routine_t >(
173
- commute_component_t ::RETURN_HOME >>
173
+ + commute_component_t ::RETURN_HOME >>
174
174
dress_up_component_t ::GET_READY_FOR_EXERCISE));
175
175
};
176
176
@@ -206,7 +206,7 @@ struct daily_routine_component_t {
206
206
207
207
// we need to extend the MainLoop as cib::top implements
208
208
// MainLoop service
209
- cib::extend<cib::MainLoop>(DAILY_ROUTINES));
209
+ cib::extend<cib::MainLoop>(+ DAILY_ROUTINES));
210
210
};
211
211
212
212
struct person_routine_proj {
0 commit comments