- boost::string_ref source() const { return source_; }
-
- file(fs::path const& path, boost::string_ref source,
- unsigned qbk_version) :
- path(path), source_(source.begin(), source.end()), is_code_snippets(false),
- qbk_version(qbk_version), ref_count(0)
+ quickbook::string_view source() const { return source_; }
+
+ file(fs::path const& path_, quickbook::string_view source_view,
+ unsigned qbk_version_) :
+ path(path_),
+ source_(source_view.begin(), source_view.end()),
+ is_code_snippets(false),
+ qbk_version(qbk_version_),
+ ref_count(0)