util: add pointer utils, use to constrain fs pointers

This commit is contained in:
Michael Scire
2022-03-24 16:21:03 -07:00
parent 141ae5c7ab
commit dfa475a769
8 changed files with 75 additions and 6 deletions

View File

@@ -181,4 +181,7 @@ namespace ams::fs::fsa {
}
};
template<typename T>
concept PointerToFileSystem = ::ams::util::RawOrSmartPointerTo<T, ::ams::fs::fsa::IFileSystem>;
}