area.cpp
/*
  TODO: Area::size()

  Retrieve the number of Measures we have for this Area. This function should be 
  callable from a constant context, not modify the state of the instance, and
  must promise not throw an exception.

  @return
    The size of the Area (i.e., the number of Measures)

  @example
    Area area("W06000023");
    std::string langCode  = "eng";
    std::string langValue = "Powys";
    area.setName(langCode, langValue);

    std::string codename = "Pop";
    std::string label = "Population";
    Measure measure(codename, label);

    area.setMeasure(code, measure);
    auto size = area.size();
*/
:size()
Retrieve the number of Measures we have for this Area. This function should be
callable from a constant context, not modify the state of the instance, and
must promise not throw an exception.
: size () Retrieve the number of Measures we have for this Area . This function should be callable from a constant context not modify the state of the instance and must promise not throw an exception .
int Area::size(){
  if(measures.empty()){
    return 0;
  }else{
    return measures.size();
  }
}
int Area :: size ( ) { if ( measures . empty ( ) ) { return 0 ; } else { return measures . size ( ) ; } }
TODO: Area::size()
Retrieve the number of Measures we have for this Area.
TODO : Area :: size () Retrieve the number of Measures we have for this Area .