Functions
sampled_t.cc File Reference
#include "canvas/Persistency/Common/Assns.h"
#include "canvas/Persistency/Common/Ptr.h"
#include "canvas/Persistency/Common/PtrVector.h"
#include "canvas/Persistency/Common/Sampled.h"
#include "canvas/Utilities/Exception.h"
#include "canvas/Utilities/InputTag.h"
#include <cassert>
#include <list>
#include <map>
#include <string>
#include <vector>

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

int main ( void  )

Definition at line 40 of file sampled_t.cc.

41 {
42  assert_sampled_allowed<int>();
43  assert_sampled_allowed<std::vector<int>>();
44  assert_sampled_forbidden<Assns<int, double>>();
45  assert_sampled_forbidden<Assns<int, double, std::string>>();
46  assert_sampled_forbidden<Ptr<int>>();
47  assert_sampled_forbidden<PtrVector<int>>();
48  assert_sampled_forbidden<std::vector<Ptr<int>>>();
49  assert_sampled_forbidden<std::map<Ptr<int>, Ptr<double>>>();
50  assert_sampled_forbidden<std::list<Ptr<int>>>();
51  assert_sampled_forbidden<std::vector<std::vector<std::vector<Ptr<int>>>>>();
52 }