A functor that captures the current location (to report errors), and provides "cast".  
 More...
#include <cast.hh>
 | 
|   | down_caster (const char *f, int l) | 
|   | 
| template<typename T , typename U >  | 
| std::shared_ptr< T >  | cast (std::shared_ptr< U > t) | 
|   | Special case for shared_ptr.  More...
  | 
|   | 
| template<typename T , typename U >  | 
| T  | cast (U t) | 
|   | 
| template<typename T , typename U >  | 
| void  | error (const char *msg) | 
|   | 
A functor that captures the current location (to report errors), and provides "cast". 
 
◆ down_caster()
      
        
          | awali::sttc::internal::down_caster::down_caster  | 
          ( | 
          const char *  | 
          f,  | 
        
        
           | 
           | 
          int  | 
          l  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ cast() [1/2]
template<typename T , typename U > 
      
        
          | std::shared_ptr<T> awali::sttc::internal::down_caster::cast  | 
          ( | 
          std::shared_ptr< U >  | 
          t | ) | 
           | 
        
      
 
Special case for shared_ptr. 
 
 
◆ cast() [2/2]
template<typename T , typename U > 
      
        
          | T awali::sttc::internal::down_caster::cast  | 
          ( | 
          U  | 
          t | ) | 
           | 
        
      
 
 
◆ error()
template<typename T , typename U > 
      
        
          | void awali::sttc::internal::down_caster::error  | 
          ( | 
          const char *  | 
          msg | ) | 
           | 
        
      
 
 
◆ file
      
        
          | const char* awali::sttc::internal::down_caster::file | 
        
      
 
 
◆ line
      
        
          | int awali::sttc::internal::down_caster::line | 
        
      
 
 
The documentation for this struct was generated from the following file:
- /home/marsault/git-client/vcsn.telecom-paristech.fr/awali.git/awali/sttc/misc/cast.hh