From 703544790451d1083c798ad36a366a86de696f4c Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Tue, 23 Aug 2022 21:58:05 +0200 Subject: [PATCH] chore: Touch up documentation of Util::make_path --- src/Util.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Util.hpp b/src/Util.hpp index e2fc5a3ce..6b2d21326 100644 --- a/src/Util.hpp +++ b/src/Util.hpp @@ -236,8 +236,11 @@ bool is_precompiled_header(std::string_view path); // time of day is used. std::optional localtime(std::optional time = {}); -// Construct a normalized native path, used like: -// std::string path = Util::make_path("usr", "local", "bin"); +// Construct a normalized native path. +// +// Example: +// +// std::string path = Util::make_path("usr", "local", "bin"); template std::string make_path(const T&... args) -- 2.47.2