Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
fwd.hpp
Go to the documentation of this file.
1#pragma once
2#include <fc/aligned.hpp>
3
4namespace fc {
5
10template<typename T,unsigned int S, typename Align=double>
11class fwd {
12 public:
13 template<typename... U>
14 fwd( U&&... u );
15 fwd();
16
17 fwd( const fwd& f );
18 fwd( fwd&& f );
19
20 operator const T&()const;
21 operator T&();
22
23 T& operator*();
24 const T& operator*()const;
25 const T* operator->()const;
26
27 T* operator->();
28 bool operator !()const;
29
30 template<typename U>
31 T& operator = ( U&& u );
32
33 T& operator = ( fwd&& u );
34 T& operator = ( const fwd& u );
35
36 ~fwd();
37
38 private:
39 aligned<S,Align> _store;
40};
41
42
43} // namespace fc
44
Used to forward declare value types.
Definition fwd.hpp:11
bool operator!() const
Definition fwd_impl.hpp:54
const T * operator->() const
Definition fwd_impl.hpp:95
T & operator=(U &&u)
Definition fwd_impl.hpp:107
fwd(const fwd &f)
fwd(fwd &&f)
T & operator*()
Definition fwd_impl.hpp:91
namespace sysio::chain
Definition authority.cpp:3
#define T(meth, val, expected)
Definition dtoa.c:306