osrm-backend/include/engine
Daniel J. Hofmann a48f02e0da Takes care of proper special member generation globally, fixes #1689
Phew, a lot of classes were affected by this. The rationale for the
changes are as follows:

- When a type X declares any constructor, the default constructor is
  not declared, so there is no need for X() = delete there. In fact,
  there is brutal difference between those two: deleted members
  participate in overload resolution, but not-declared members do not!

- When a type X wants to be non-copyable (e.g. to be only movable, like
  threads, unique_ptrs, and so on), you can either do it by inheriting
  from boost::noncopyable (the old way), or better declare both (!) the
  copy constructor _and_ the copy assignment operator as deleted:

      X(X const&) = delete;
      X& operator=(X const&) = delete;

  We had tons of types with deleted copy constructors that were lacking
  a corresponding deleted copy assignment operator, making them still
  copyable and you wouldn't even notice (read: scary)!

References:

- http://accu.org/content/conf2014/Howard_Hinnant_Accu_2014.pdf
- http://www.boost.org/doc/libs/master/libs/core/doc/html/core/noncopyable.html

Note: I know, I'm quoting Hinnant's extraordinary slides a lot, but
getting the sematic right here is so incredibly important.
2016-01-27 17:25:30 +01:00
..
datafacade Fix PR comments 2016-01-26 22:57:02 +01:00
guidance Be kind to the optimizer, pass coordinates by value (just two ints) 2016-01-26 22:57:02 +01:00
map_matching Run clang-format 2016-01-08 01:31:57 +01:00
plugins Be kind to the optimizer, pass coordinates by value (just two ints) 2016-01-26 22:57:02 +01:00
routing_algorithms Takes care of proper special member generation globally, fixes #1689 2016-01-27 17:25:30 +01:00
trip Run clang-format 2016-01-08 01:31:57 +01:00
api_response_generator.hpp Make TurnInstructionsClass functions free standing functions 2016-01-09 19:55:22 +01:00
douglas_peucker.hpp Make DouglasPeucker a free standing function 2016-01-09 19:55:21 +01:00
engine_config.hpp Create public facing libraries for extractor, contractor and datastore 2016-01-21 06:47:34 +01:00
engine.hpp Takes care of proper special member generation globally, fixes #1689 2016-01-27 17:25:30 +01:00
geospatial_query.hpp Be kind to the optimizer, pass coordinates by value (just two ints) 2016-01-26 22:57:02 +01:00
internal_route_result.hpp Run clang-format 2016-01-08 01:31:57 +01:00
object_encoder.hpp Run clang-format 2016-01-08 01:31:57 +01:00
phantom_node.hpp Be kind to the optimizer, pass coordinates by value (just two ints) 2016-01-26 22:57:02 +01:00
polyline_compressor.hpp Make PolylineCompresser's encode and decode free standing functions 2016-01-09 19:55:22 +01:00
polyline_formatter.hpp Make PolylineFormatter's encodedAsJSON and unencodedAsJSON free standing functions 2016-01-09 19:55:22 +01:00
route_name_extraction.hpp Make RouteNameExtraction a free standing function 2016-01-09 19:55:22 +01:00
route_parameters.hpp Remove boost fusion dependency in RouteParameters 2016-01-26 22:57:02 +01:00
search_engine_data.hpp Run clang-format 2016-01-08 01:31:57 +01:00
search_engine.hpp Run clang-format 2016-01-08 01:31:57 +01:00
segment_information.hpp Run clang-format 2016-01-08 01:31:57 +01:00