std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>:: accessor
      From cppreference.com
     
     
     
     
     
     
     
        
         C++
        
        
         
          
           
          
          
         
        
       
       
        
         Containers library
        
        
         
          
           
            
          
          
          
         
        
       
       | Sequence | ||||
| 
                
                 
                  
                   (C++11)
                  
                 
                
                | ||||
| 
                
                 
                  
                   (C++26)
                  
                 
                
                | ||||
| 
                
                 
                  
                   (C++11)
                  
                 
                
                | ||||
| Associative | ||||
| Unordered associative | ||||
| 
                
                 
                  
                   (C++11)
                  
                 
                
                | ||||
| 
                
                 
                  
                   (C++11)
                  
                 
                
                | ||||
| 
                
                 
                  
                   (C++11)
                  
                 
                
                | ||||
| 
                
                 
                  
                   (C++11)
                  
                 
                
                | ||||
| Adaptors | ||||
| 
                
                 
                  
                   (C++23)
                  
                 
                
                | ||||
| 
                
                 
                  
                   (C++23)
                  
                 
                
                | ||||
| 
                
                 
                  
                   (C++23)
                  
                 
                
                | ||||
| 
                
                 
                  
                   (C++23)
                  
                 
                
                | ||||
| Views | ||||
| 
                
                 
                  
                   (C++20)
                  
                 
                
                | ||||
| 
                
                 
                  
                   (C++23)
                  
                 
                
                | ||||
| Tables | ||||
| Iterator invalidation | ||||
| Member function table | ||||
| Non-member function table | 
        
         
          std::mdspan
         
        
        
         
          
           
            
          
          
          
         
        
       
       | 
 | 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
           
            
             constexpr
            
            
             const
            
            accessor_type
            
             &
            
            accessor
            
             (
            
            
             )
            
            
             const
            
            
             noexcept
            
            
             ;
            
           
           | (since C++23) | |
       Returns a const reference to the accessor
       
        
         
          acc_
         
        
       
       . Equivalent to
       
        
         
          return
         
         acc_
         
          ;
         
        
       
       .
      
Parameters
(none)
Return value
See above.
Example
| This section is incomplete Reason: no example | 
See also
| This section is incomplete | 
      Retrieved from "
      
       https://en.cppreference.com/mwiki/index.php?title=cpp/container/mdspan/accessor&oldid=156790
      
      "