LCOV - code coverage report
Current view: top level - vset/memory/fsb/aspect - ad_end.hpp (source / functions) Hit Total Coverage
Test: v-set-coverage.info Lines: 3 3 100.0 %
Date: 2019-09-12 Functions: 8 9 88.9 %

          Line data    Source code
       1             : //
       2             : // Author: Vladimir Migashko <migashko@gmail.com>, (C) 2012
       3             : //
       4             : // Copyright: See COPYING file that comes with this distribution
       5             : //
       6             : 
       7             : #ifndef VSET_VSET_MEMORY_FSB_ASPECT_AD_END_HPP
       8             : #define VSET_VSET_MEMORY_FSB_ASPECT_AD_END_HPP
       9             : 
      10             : #include <vset/buffer/tags.hpp>
      11             : #include <vset/memory/fsb/tags.hpp>
      12             : 
      13             : #include <fas/typemanip/type2type.hpp>
      14             : 
      15             : namespace vset { namespace memory{ namespace fsb{
      16             : 
      17          31 : struct ad_end
      18             : {
      19             :   template<typename T, typename Pointer>
      20       20632 :   Pointer operator()(T& t, fas::type2type<Pointer> ) const
      21             :   {
      22       20632 :     return Pointer( &t );
      23             :   }
      24             : };
      25             : 
      26             : }}}
      27             : 
      28             : #endif

Generated by: LCOV version 1.10