@@ -95,14 +95,10 @@ 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),
98
+ cib::extend<morning_routine_t >(+WAKE_UP >> +EXERCISE >> +TAKE_BATH),
101
99
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));
100
+ cib::extend<evening_routine_t >(+EXERCISE >> +TAKE_BATH >> +RELAX >>
101
+ +GO_TO_BED));
106
102
};
107
103
108
104
struct food_component_t {
@@ -119,10 +115,10 @@ struct food_component_t {
119
115
constexpr static auto config = cib::config(
120
116
121
117
cib::extend<morning_routine_t >(self_care_component_t ::TAKE_BATH >>
122
- food_component_t :: BREAKFAST),
118
+ + BREAKFAST),
123
119
124
120
cib::extend<evening_routine_t >(self_care_component_t ::RELAX >>
125
- food_component_t :: DINNER >>
121
+ + DINNER >>
126
122
self_care_component_t ::GO_TO_BED));
127
123
};
128
124
@@ -141,16 +137,13 @@ struct dress_up_component_t {
141
137
constexpr static auto config = cib::config(
142
138
143
139
cib::extend<morning_routine_t >(
144
- self_care_component_t ::WAKE_UP >>
145
- dress_up_component_t ::GET_READY_FOR_EXERCISE >>
140
+ self_care_component_t ::WAKE_UP >> +GET_READY_FOR_EXERCISE >>
146
141
self_care_component_t ::EXERCISE >>
147
- self_care_component_t ::TAKE_BATH >>
148
- dress_up_component_t ::GET_READY_TO_WORK >>
142
+ self_care_component_t ::TAKE_BATH >> +GET_READY_TO_WORK >>
149
143
food_component_t ::BREAKFAST),
150
144
151
- cib::extend<evening_routine_t >(
152
- dress_up_component_t ::GET_READY_FOR_EXERCISE >>
153
- self_care_component_t ::EXERCISE));
145
+ cib::extend<evening_routine_t >(+GET_READY_FOR_EXERCISE >>
146
+ self_care_component_t ::EXERCISE));
154
147
};
155
148
156
149
struct commute_component_t {
@@ -167,11 +160,10 @@ struct commute_component_t {
167
160
constexpr static auto config = cib::config(
168
161
169
162
cib::extend<morning_routine_t >(food_component_t ::BREAKFAST >>
170
- commute_component_t :: GO_TO_OFFICE),
163
+ + GO_TO_OFFICE),
171
164
172
165
cib::extend<evening_routine_t >(
173
- commute_component_t ::RETURN_HOME >>
174
- dress_up_component_t ::GET_READY_FOR_EXERCISE));
166
+ +RETURN_HOME >> dress_up_component_t ::GET_READY_FOR_EXERCISE));
175
167
};
176
168
177
169
struct daily_routine_component_t {
@@ -206,7 +198,7 @@ struct daily_routine_component_t {
206
198
207
199
// we need to extend the MainLoop as cib::top implements
208
200
// MainLoop service
209
- cib::extend<cib::MainLoop>(DAILY_ROUTINES));
201
+ cib::extend<cib::MainLoop>(+ DAILY_ROUTINES));
210
202
};
211
203
212
204
struct person_routine_proj {
0 commit comments