flatten 20260225
This commit is contained in:
32
tjp/core/url/URL.inl
Executable file
32
tjp/core/url/URL.inl
Executable file
@@ -0,0 +1,32 @@
|
||||
// TJP COPYRIGHT HEADER
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "URL.h"
|
||||
|
||||
namespace tjp {
|
||||
namespace core {
|
||||
|
||||
namespace url {
|
||||
|
||||
template<typename ...Args>
|
||||
URL make(const Domain &domain, Args&& ...args)
|
||||
{
|
||||
return push_back(
|
||||
make(domain),
|
||||
std::forward<Args>(args)...
|
||||
);
|
||||
}
|
||||
|
||||
template<typename ...Args>
|
||||
URL push_back(const URL &url, const URL &rhs, Args&& ...args)
|
||||
{
|
||||
return push_back(
|
||||
push_back(url, rhs),
|
||||
std::forward<Args>(args)...
|
||||
);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
} // namespace
|
||||
Reference in New Issue
Block a user