Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
dakka committed May 7, 2024
1 parent c5bd09e commit ddb63e7
Showing 1 changed file with 45 additions and 16 deletions.
61 changes: 45 additions & 16 deletions reference/source_location.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,73 +28,102 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//---------------------------------------------------------------------------------------->
Compiler: Clang: Ubuntu Clang 16.0.6 (23ubuntu4)
1. scoped enum
# Compiler: Clang: Ubuntu Clang 16.0.6 (23ubuntu4)
## 1. scoped enum
```C++
static const char *conjure_enum<Type>::tpeek() [T = Type]
static const char *conjure_enum<Type>::epeek() [T = Type, e = Type::Value]
static const char *conjure_enum<Type>::epeek() [T = Type, e = (Type)100]
```

2. unscoped enum
## 2. unscoped enum
```C++
static const char *conjure_enum<Type1>::tpeek() [T = Type1]
static const char *conjure_enum<Type1>::epeek() [T = Type1, e = Value]
static const char *conjure_enum<Type1>::epeek() [T = Type1, e = (Type1)100]
```

3. scoped enum in anonymous namespace
## 3. scoped enum in anonymous namespace
```C++
static const char *conjure_enum<(anonymous namespace)::Anon_Type>::tpeek() [T = (anonymous namespace)::Anon_Type]
static const char *conjure_enum<(anonymous namespace)::Anon_Type>::epeek() [T = (anonymous namespace)::Anon_Type, e = (anonymous namespace)::Anon_Type::Value]
static const char *conjure_enum<(anonymous namespace)::Anon_Type>::epeek() [T = (anonymous namespace)::Anon_Type, e = ((anonymous namespace)::Anon_Type)100]
```

4. unscoped enum in anonymous namespace
## 4. unscoped enum in anonymous namespace
```C++
static const char *conjure_enum<(anonymous namespace)::Anon_Type1>::tpeek() [T = (anonymous namespace)::Anon_Type1]
static const char *conjure_enum<(anonymous namespace)::Anon_Type1>::epeek() [T = (anonymous namespace)::Anon_Type1, e = (anonymous namespace)::Value]
static const char *conjure_enum<(anonymous namespace)::Anon_Type1>::epeek() [T = (anonymous namespace)::Anon_Type1, e = ((anonymous namespace)::Anon_Type1)100]
```

5. scoped enum in namespace
## 5. scoped enum in namespace
```C++
static const char *conjure_enum<Namespace::Type>::tpeek() [T = Namespace::Type]
static const char *conjure_enum<Namespace::Type>::epeek() [T = Namespace::Type, e = Namespace::Type::Value]
static const char *conjure_enum<Namespace::Type>::epeek() [T = Namespace::Type, e = (Namespace::Type)100]
```

6. unscoped enum in namespace
## 6. unscoped enum in namespace
```C++
static const char *conjure_enum<Namespace::Type1>::tpeek() [T = Namespace::Type1]
static const char *conjure_enum<Namespace::Type1>::epeek() [T = Namespace::Type1, e = Namespace::Value]
static const char *conjure_enum<Namespace::Type1>::epeek() [T = Namespace::Type1, e = (Namespace::Type1)100]
```

7. other type
## 7. other type
```C++
static const char *conjure_type<int>::tpeek() [T = int]
static const char *conjure_type<std::basic_string_view<char>>::tpeek() [T = std::basic_string_view<char>]
static const char *conjure_type<std::vector<std::tuple<int, char, std::basic_string_view<char>>>>::tpeek() [T = std::vector<std::tuple<int, char, std::basic_string_view<char>>>]
Compiler: GCC: 14.0.1 20240412 (experimental) [master r14-9935-g67e1433a94f]
1. scoped enum
```

# Compiler: GCC: 14.0.1 20240412 (experimental) [master r14-9935-g67e1433a94f]
## 1. scoped enum
```C++
static consteval const char* conjure_enum<T>::tpeek() [with T = Type]
static consteval const char* conjure_enum<T>::epeek() [with T e = Type::Value; T = Type]
static consteval const char* conjure_enum<T>::epeek() [with T e = (Type)100; T = Type]
```

2. unscoped enum
## 2. unscoped enum
```C++
static consteval const char* conjure_enum<T>::tpeek() [with T = Type1]
static consteval const char* conjure_enum<T>::epeek() [with T e = Value; T = Type1]
static consteval const char* conjure_enum<T>::epeek() [with T e = (Type1)100; T = Type1]
```

3. scoped enum in anonymous namespace
## 3. scoped enum in anonymous namespace
```C++
static consteval const char* conjure_enum<T>::tpeek() [with T = {anonymous}::Anon_Type]
static consteval const char* conjure_enum<T>::epeek() [with T e = <unnamed>::Anon_Type::Value; T = {anonymous}::Anon_Type]
static consteval const char* conjure_enum<T>::epeek() [with T e = (<unnamed>::Anon_Type)100; T = {anonymous}::Anon_Type]
```
4. unscoped enum in anonymous namespace
## 4. unscoped enum in anonymous namespace
```C++
static consteval const char* conjure_enum<T>::tpeek() [with T = {anonymous}::Anon_Type1]
static consteval const char* conjure_enum<T>::epeek() [with T e = <unnamed>::Value; T = {anonymous}::Anon_Type1]
static consteval const char* conjure_enum<T>::epeek() [with T e = (<unnamed>::Anon_Type1)100; T = {anonymous}::Anon_Type1]
```

5. scoped enum in namespace
## 5. scoped enum in namespace
```C++
static consteval const char* conjure_enum<T>::tpeek() [with T = Namespace::Type]
static consteval const char* conjure_enum<T>::epeek() [with T e = Namespace::Type::Value; T = Namespace::Type]
static consteval const char* conjure_enum<T>::epeek() [with T e = (Namespace::Type)100; T = Namespace::Type]
```

6. unscoped enum in namespace
## 6. unscoped enum in namespace
```C++
static consteval const char* conjure_enum<T>::tpeek() [with T = Namespace::Type1]
static consteval const char* conjure_enum<T>::epeek() [with T e = Namespace::Value; T = Namespace::Type1]
static consteval const char* conjure_enum<T>::epeek() [with T e = (Namespace::Type1)100; T = Namespace::Type1]
```

7. other type
## 7. other type
```C++
static consteval const char* conjure_type<T>::tpeek() [with T = int]
static consteval const char* conjure_type<T>::tpeek() [with T = std::basic_string_view<char>]
static consteval const char* conjure_type<T>::tpeek() [with T = std::vector<std::tuple<int, char, std::basic_string_view<char, std::char_traits<char> > > >]
```

0 comments on commit ddb63e7

Please sign in to comment.