trailing types instead of return types
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
[[nodiscard]] std::pair<cv::Mat, cv::Mat> init_image(
|
||||
std::string const&) noexcept;
|
||||
[[nodiscard]] auto init_image(std::string const&) noexcept
|
||||
-> std::pair<cv::Mat, cv::Mat>;
|
||||
|
||||
[[nodiscard]] double euclidian_distance(cv::Mat const&, cv::Mat const&);
|
||||
[[nodiscard]] auto euclidian_distance(cv::Mat const&, cv::Mat const&) -> double;
|
||||
|
||||
#endif /* GENETIC_IMAGE_INCLUDE_GENIMG_COMMON_HH_ */
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
#include <filesystem>
|
||||
#include <tuple>
|
||||
|
||||
[[nodiscard]] std::
|
||||
tuple<std::filesystem::path, std::filesystem::path, int, int, bool>
|
||||
parse_args(int, char**);
|
||||
[[nodiscard]] auto parse_args(int, char**)
|
||||
-> std::tuple<std::filesystem::path, std::filesystem::path, int, int, bool>;
|
||||
|
||||
#endif /* GENETIC_IMAGE_INCLUDE_GENIMG_PARSEARGS_HH_ */
|
||||
|
||||
Reference in New Issue
Block a user