Run the initializer which can not fail
| 229 | |
| 230 | // Run the initializer which can not fail |
| 231 | inline void run_initializer( void (*f)(), atomic<do_once_state>& state ) { |
| 232 | f(); |
| 233 | state = do_once_executed; |
| 234 | } |
| 235 | |
| 236 | // Run the initializer which can require repeated call |
| 237 | inline void run_initializer( bool (*f)(), atomic<do_once_state>& state ) { |