std::experimental::source_location::source_location - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::source_location::source_location

From cppreference.com
< cpp‎ | experimental‎ | source location

constexpr source_location(); | (1) | (library fundamentals TS v2)
source_location( const source_location& other ) = default; | (2) | (library fundamentals TS v2) (implicitly declared)
source_location( source_location&& other ) = default; | (3) | (library fundamentals TS v2) (implicitly declared)

1) Constructs an `source_location` object whose values are implementation defined.
2-3) Implicitly declared copy and move constructors.

### [edit] Parameters

other | - | another `source_location` to copy from

### [edit] Exceptions

1)
`noexcept` specification:
noexcept

### [edit] See also

current [static] | constructs a new `source_location` (public static member function) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/source_location/source_location&oldid=91376"
Category:

- unconditionally noexcept

Hidden categories:

- Pages with unreviewed unconditional noexcept template
- Pages with unreviewed noexcept template