File: get_type.cpp

package info (click to toggle)
mapbox-variant 1.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,644 kB
  • sloc: cpp: 31,068; ansic: 959; python: 424; makefile: 144; objc: 59; sh: 36
file content (9 lines) | stat: -rw-r--r-- 176 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
// @EXPECTED: no matching .*\<function for call to .*\<get\>

#include <mapbox/variant.hpp>

int main()
{
    mapbox::util::variant<int, double> x;
    x.get<std::string>();
}