osrm-backend/extractor
Daniel J. Hofmann 82dd5d8ccf Use Boost.Optional instead of custom optional monad implementation.
This switches out the `<variant/optional.hpp>` implementation of the
optional monad to the one from Boost.

The following trick makes sure we keep compile times down:

- use `<boost/optional/optional_fwd.hpp>` to forward declare the
  optional type in header, then include the full blown optional header
  only in the implementation file.

- do the same for the files we touch, e.g. forward declare osmium types,
  allowing us to remove the osmium header dependency from our headers:

      `namespace osmium { class Relation; }

  and then include the appropriate osmium headers in the implementation
  file only. We should do this globally...

References:

- http://www.boost.org/doc/libs/1_59_0/libs/optional/doc/html/index.html
- https://github.com/osmcode/libosmium/issues/123
2015-09-28 15:00:21 +02:00
..
extraction_containers.cpp Caches iterators instead of invoking function calls on every iteration. 2015-09-15 12:09:39 +02:00
extraction_containers.hpp Fix processing for data files with incorrect node references 2015-09-10 12:22:03 +02:00
extraction_helper_functions.hpp First step into overhauling the edge storage 2015-06-01 17:22:12 +02:00
extraction_node.hpp change copyright line from personal names to project 2015-02-19 09:19:51 +01:00
extraction_way.hpp Remove unused memebers and rename to currrent style convention 2015-07-01 18:07:29 +02:00
extractor_callbacks.cpp Use Boost.Optional instead of custom optional monad implementation. 2015-09-28 15:00:21 +02:00
extractor_callbacks.hpp Use Boost.Optional instead of custom optional monad implementation. 2015-09-28 15:00:21 +02:00
extractor_options.cpp First step into overhauling the edge storage 2015-06-01 17:22:12 +02:00
extractor_options.hpp First step into overhauling the edge storage 2015-06-01 17:22:12 +02:00
extractor.cpp Use Boost.Optional instead of custom optional monad implementation. 2015-09-28 15:00:21 +02:00
extractor.hpp Modernize the code base to C++11 standards and beyond. 2015-08-18 12:56:34 +02:00
first_and_last_segment_of_way.hpp change copyright line from personal names to project 2015-02-19 09:19:51 +01:00
internal_extractor_edge.hpp Modernize the code base to C++11 standards and beyond. 2015-08-18 12:56:34 +02:00
restriction_parser.cpp Use Boost.Optional instead of custom optional monad implementation. 2015-09-28 15:00:21 +02:00
restriction_parser.hpp Use Boost.Optional instead of custom optional monad implementation. 2015-09-28 15:00:21 +02:00
scripting_environment.cpp Implement raster source feature to read data from third-party sources, to be used in lua profiles. 2015-09-03 22:28:18 -07:00
scripting_environment.hpp Add documentation to ScriptingEnvironment 2015-04-21 20:00:58 +02:00