mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-02-17 11:45:50 +00:00
Move sequence_bt and string_bt into helpers.
They are useful in the Redis backend and in helpers itself. People wanting to use pq alone from this project will have to cope and search for all the needed files.
This commit is contained in:
parent
874783e8da
commit
9491f2eb47
3 changed files with 8 additions and 6 deletions
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include <cstddef>
|
||||
|
||||
namespace pq {
|
||||
namespace dinhelp {
|
||||
namespace bt {
|
||||
template <std::size_t... I>
|
||||
struct index_seq {
|
||||
|
@ -43,6 +43,6 @@ namespace pq {
|
|||
template <std::size_t MIN, std::size_t MAX>
|
||||
using index_range = typename implem::range_builder<MIN, MAX>::type;
|
||||
} //namespace bt
|
||||
} //namespace pq
|
||||
} //namespace dinhelp
|
||||
|
||||
#endif
|
|
@ -18,12 +18,12 @@
|
|||
#ifndef id170B0E6C34D14EBA9B92A35977BDBFB3
|
||||
#define id170B0E6C34D14EBA9B92A35977BDBFB3
|
||||
|
||||
#include "pq/implem/sequence_bt.hpp"
|
||||
#include "sequence_bt.hpp"
|
||||
#include <cstddef>
|
||||
#include <iostream>
|
||||
#include <stdexcept>
|
||||
|
||||
namespace pq {
|
||||
namespace dinhelp {
|
||||
namespace bt {
|
||||
template <std::size_t S>
|
||||
class string;
|
||||
|
@ -107,6 +107,6 @@ namespace pq {
|
|||
return string<S>(parData);
|
||||
}
|
||||
} //namespace bt
|
||||
} //namespace pq
|
||||
} //namespace dinhelp
|
||||
|
||||
#endif
|
|
@ -18,7 +18,7 @@
|
|||
#ifndef idEC73C3E4D64D44ABA0DB7D41FA8A7EB7
|
||||
#define idEC73C3E4D64D44ABA0DB7D41FA8A7EB7
|
||||
|
||||
#include "pq/implem/string_bt.hpp"
|
||||
#include "helpers/string_bt.hpp"
|
||||
#include <chrono>
|
||||
#include <type_traits>
|
||||
#include <boost/utility/string_ref.hpp>
|
||||
|
@ -30,6 +30,8 @@ struct pg_param;
|
|||
typedef pg_param PGparam;
|
||||
|
||||
namespace pq {
|
||||
namespace bt = dinhelp::bt;
|
||||
|
||||
class Connection;
|
||||
|
||||
namespace implem {
|
||||
|
|
Loading…
Add table
Reference in a new issue