organicmaps/coding
Maxim Pimenov e400ad6c46 [geometry] Made the constructor of Point<T> from Point<U> explicit.
Sometimes we want a non-trivial transformation when converting
from one representation of a point to another. An example
is PointDToPointU which uses the fact that its argument is
usually a point from the Mercator plane. The wrong usage
is easier to catch when implicit conversion between different point
types is prohibited.

An example of wrong usage that is prevented by this commit:
  // A function defined in another file.
  m2::PointU GetPoint()
  {
    m2::PointD pt;
    [...]
    return PointDToPointU(p2, kDefaultBits);
  }

  // Here we have forgotten that the result of GetPoint() is already converted.
  m2::PointU ptu = PointDToPointU(GetPoint(), kDefaultBits);
2018-05-08 15:21:30 +03:00
..
coding_tests [coding] Refactored EncodeDelta for points. 2018-04-11 16:35:42 +03:00
internal Removed warnings 2018-03-12 11:51:34 +03:00
base64.cpp Review fixes. 2017-07-21 12:56:16 +03:00
base64.hpp Remove dependencies on tomcrypt 2016-11-17 13:27:23 +03:00
bit_streams.hpp [coding] Elias gamma and delta coder. 2016-07-13 18:16:24 +03:00
buffer_reader.hpp Platform::GetReader returns unique_ptr. Fix leaks. 2016-03-23 16:49:24 +03:00
bwt_coder.hpp [ugc] Binary SerDes. (#6577) 2017-07-13 18:04:37 +03:00
byte_stream.hpp
CMakeLists.txt [coding] [geometry] Refactored geometry serialization. 2018-04-11 14:27:47 +03:00
coder.hpp
coder_util.hpp
compressed_bit_vector.cpp CeilLog is renamed to FloorLog. 2017-02-08 16:36:03 +03:00
compressed_bit_vector.hpp Minor fixes - get rid of redundant copying. 2016-07-05 12:40:47 +03:00
constants.hpp
csv_reader.cpp [ugc] review fixes 2017-10-12 15:40:58 +03:00
csv_reader.hpp [ugc] small fixes 2017-10-12 17:50:39 +03:00
dd_vector.hpp Using _t suffix instead of ::type in whole project + using std:: somewhere. 2018-03-06 12:17:41 +03:00
diff.hpp Remove using std from base 2016-12-28 15:24:51 +03:00
diff_patch_common.hpp
elias_coder.hpp CeilLog is renamed to FloorLog. 2017-02-08 16:36:03 +03:00
endianness.hpp Fix issues while build on Linux 2016-12-28 15:24:52 +03:00
file_container.cpp Added Hyper Local Ads (HLA) manager 2017-03-31 17:30:15 +03:00
file_container.hpp Added Hyper Local Ads (HLA) manager 2017-03-31 17:30:15 +03:00
file_name_utils.cpp Review fixes. 2018-04-06 15:59:42 +03:00
file_name_utils.hpp Bookmarks refactoring. 2018-04-06 15:59:42 +03:00
file_reader.cpp Refactored local ads manager 2017-04-07 11:40:52 +03:00
file_reader.hpp Refactored local ads manager 2017-04-07 11:40:52 +03:00
file_sort.hpp
file_writer.cpp review fixes 2017-03-23 14:50:19 +03:00
file_writer.hpp review fixes 2017-03-23 14:50:19 +03:00
fixed_bits_ddvector.hpp Fix warnings 2017-01-16 15:21:10 +03:00
geometry_coding.cpp [geometry] Made the constructor of Point<T> from Point<U> explicit. 2018-05-08 15:21:30 +03:00
geometry_coding.hpp Review fixes. 2018-04-11 16:35:42 +03:00
hex.cpp
hex.hpp Replaced boost’s STATIC_ASSERT with a C++11 one. 2015-09-22 16:52:30 -07:00
huffman.cpp Using _t suffix instead of ::type in whole project + using std:: somewhere. 2018-03-06 12:17:41 +03:00
huffman.hpp Using _t suffix instead of ::type in whole project + using std:: somewhere. 2018-03-06 12:17:41 +03:00
matrix_traversal.hpp
memory_region.hpp Review fixes. 2016-07-22 15:36:03 +03:00
mmap_reader.cpp Platform::GetReader returns unique_ptr. Fix leaks. 2016-03-23 16:49:24 +03:00
mmap_reader.hpp Platform::GetReader returns unique_ptr. Fix leaks. 2016-03-23 16:49:24 +03:00
multilang_utf8_string.cpp [coding] An uninterruptible version of ForEach in StringUtf8Multilang. 2017-12-01 19:01:23 +03:00
multilang_utf8_string.hpp Review fixes. 2017-12-01 19:01:23 +03:00
parse_xml.hpp Fixed warnings in drape 2017-01-09 14:45:28 +03:00
point_to_integer.cpp [coding] [geometry] Deprecated PointToInt. 2018-04-10 14:31:32 +03:00
point_to_integer.hpp [coding] [geometry] Deprecated PointToInt. 2018-04-10 14:31:32 +03:00
pointd_to_pointu.cpp [coding] [geometry] Deprecated PointToInt. 2018-04-10 14:31:32 +03:00
pointd_to_pointu.hpp [coding] [geometry] Deprecated PointToInt. 2018-04-10 14:31:32 +03:00
polymorph_reader.hpp
read_write_utils.hpp preparation for std migration 2017-04-19 22:04:09 +03:00
reader.cpp [coding] Added a version with exceptions to MemReader. 2016-12-09 14:15:28 +03:00
reader.hpp [indexer] Add ability to mmap scales index. 2018-01-19 16:10:31 +03:00
reader_cache.hpp Remove using std from base 2016-12-28 15:24:51 +03:00
reader_streambuf.cpp Platform::GetReader returns unique_ptr. Fix leaks. 2016-03-23 16:49:24 +03:00
reader_streambuf.hpp Platform::GetReader returns unique_ptr. Fix leaks. 2016-03-23 16:49:24 +03:00
reader_wrapper.hpp
reader_writer_ops.cpp
reader_writer_ops.hpp
serdes_binary_header.hpp Added KML library 2018-03-14 18:13:54 +03:00
serdes_json.hpp [taxi] places review fixes 2018-04-12 18:42:44 +03:00
sha1.cpp Added KML library 2018-03-14 18:13:54 +03:00
sha1.hpp Added KML library 2018-03-14 18:13:54 +03:00
simple_dense_coding.cpp Review fixes. 2017-07-21 12:56:16 +03:00
simple_dense_coding.hpp Review fixes. 2017-07-21 12:56:16 +03:00
streams.hpp
streams_common.hpp
streams_sink.hpp Using _t suffix instead of ::type in whole project + using std:: somewhere. 2018-03-06 12:17:41 +03:00
succinct_mapper.hpp Using _t suffix instead of ::type in whole project + using std:: somewhere. 2018-03-06 12:17:41 +03:00
tesselator_decl.hpp [coding] [geometry] Refactored geometry serialization. 2018-04-11 14:27:47 +03:00
text_storage.hpp [ugc] Binary SerDes. (#6577) 2017-07-13 18:04:37 +03:00
traffic.cpp Moved point-to-integer to coding 2017-04-11 15:55:41 +03:00
traffic.hpp [coding] [geometry] Deprecated PointToInt. 2018-04-10 14:31:32 +03:00
transliteration.cpp Transliteration modes added. 2017-05-26 13:12:53 +03:00
transliteration.hpp Transliteration modes added. 2017-05-26 13:12:53 +03:00
uri.cpp Fixed uri tests. 2017-04-06 12:30:33 +03:00
uri.hpp Review fixes. 2016-08-08 11:39:37 +03:00
url_encode.hpp
value_opt_string.hpp C++ warning fixes. 2015-09-22 16:48:41 -07:00
var_record_reader.hpp
var_serial_vector.hpp
varint.hpp [coding] [geometry] Refactored geometry serialization. 2018-04-11 14:27:47 +03:00
varint_misc.hpp Fixed <cstdint>. 2015-09-22 16:52:31 -07:00
varint_vector.cpp
varint_vector.hpp
write_to_sink.hpp Using _t suffix instead of ::type in whole project + using std:: somewhere. 2018-03-06 12:17:41 +03:00
writer.hpp review fixes 2017-03-23 14:50:19 +03:00
zip_creator.cpp Minor ZipReader improvements. 2015-09-22 17:01:41 -07:00
zip_creator.hpp
zip_reader.cpp Review fixes. 2016-05-11 15:58:57 +03:00
zip_reader.hpp Remove using std from base 2016-12-28 15:24:51 +03:00
zlib.cpp Review fixes. 2017-05-02 19:24:56 +03:00
zlib.hpp [coding] Added GZip support. 2017-05-02 15:48:39 +03:00