##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::propagate_const::operator element_type*, std::experimental::propagate_const::operator const element_type*

From cppreference.com
< cpp‎ | experimental‎ | propagate const

constexpr operator element_type*(); | (1) | (library fundamentals TS v2)
constexpr operator const element_type*() const; | (2) | (library fundamentals TS v2)

Provides implicit conversions to element_type* and const element_type*.

1) This function does not participate in overload resolution unless `T` is an object pointer type or is implicitly convertible to element_type*.

2) This function does not participate in overload resolution unless `T` is an object pointer type or is implicitly convertible to const element_type*.

### [edit] Parameters

(none)

### [edit] Return value

A pointer to the object pointed to by the wrapped pointer-like object, i.e., this->get()

### [edit] Example

| This section is incomplete Reason: no example

### [edit] See also

get | returns a pointer to the object pointed to by the wrapped pointer (public member function) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/propagate_const/operator_element_type*&oldid=79517"
Category:

- Todo no example