include/parallel_automaton.hpp
/**
     * @brief Construct a new Cellular Automaton object from another one using move semantic.
     * @note The old object will be left in a valid but unspecified state.
     * @param other CellularAutomaton to move.
     *
     */
@brief Construct a new Cellular Automaton object from another one using move semantic.
@note The old object will be left in a valid but unspecified state.
@param other CellularAutomaton to move.
@brief Construct a new Cellular Automaton object from another one using move semantic . @note The old object will be left in a valid but unspecified state . @param other CellularAutomaton to move .
CellularAutomaton(CellularAutomaton &&other)
    {
        grid = std::move(other.grid);
        generation = other.generation;
        update_function = other.update_function;
        nw = other.nw;
        pool = std::move(other.pool);
        other.generation = 0;
    }
CellularAutomaton ( CellularAutomaton && other ) { grid = std :: move ( other . grid ) ; generation = other . generation ; update_function = other . update_function ; nw = other . nw ; pool = std :: move ( other . pool ) ; other . generation = 0 ; }
@brief Construct a new Cellular Automaton object from another one using move semantic.
@brief Construct a new Cellular Automaton object from another one using move semantic .
// move what's movable and copying numeric types. // set the old object in a valid state