src/parser/Parse_Table.cc
void Parse_Table::add(Parse_Table const &source) noexcept(false) {
  // Preallocate storage.
  vec.reserve(vec.size() + source.vec.size());

  // Add the new keywords.
  for (auto const &src : source.vec)
    vec.push_back(src);

  sort_table_();

  Ensure(check_class_invariants());
}
//------------------------------------------------------------------------------------------------//
/*!
 * \param source Parse_Table whose keywords are to be added to this Parse_Table.
 *
 * \throw invalid_argument If the keyword table is ill-formed or ambiguous.
 */
\param source Parse_Table whose keywords are to be added to this Parse_Table.
\throw invalid_argument If the keyword table is ill-formed or ambiguous.
\ param source Parse_Table whose keywords are to be added to this Parse_Table . \ throw invalid_argument If the keyword table is ill - formed or ambiguous .
void Parse_Table::add(Parse_Table const &source) noexcept(false) {
  vec.reserve(vec.size() + source.vec.size());
  for (auto const &src : source.vec)
    vec.push_back(src);
  sort_table_();
  Ensure(check_class_invariants());
}
void Parse_Table :: add ( Parse_Table const & source ) noexcept ( false ) { vec . reserve ( vec . size ( ) + source . vec . size ( ) ) ; for ( auto const & src : source . vec ) vec . push_back ( src ) ; sort_table_ ( ) ; Ensure ( check_class_invariants ( ) ) ; }
\param source Parse_Table whose keywords are to be added to this Parse_Table.
\ param source Parse_Table whose keywords are to be added to this Parse_Table .
// Preallocate storage. // Add the new keywords.