示例#1
0
文件: dataflow.hpp 项目: Quanteek/hpx
 HPX_FORCEINLINE
 typename boost::enable_if<
     traits::is_future_or_future_range<Future>
 >::type
 operator()(boost::reference_wrapper<Future>& future) const
 {
     future.get() = Future();
 }
示例#2
0
文件: ref.hpp 项目: jhellrung/sake
inline typename sake::range_iterator<T>::type
end(boost::reference_wrapper<T> x)
{ return sake::range::end(x.get()); }
示例#3
0
 // std::ostream
 output_stream(boost::reference_wrapper<std::ostream> os)
     : write_f(make_std_ostream_write_function(os.get())) {}
示例#4
0
 template <typename T> bool operator()(boost::reference_wrapper<T> a,boost::reference_wrapper<T> b) const {
     return a.get() == b.get();
 }