Welcome to mirror list, hosted at ThFree Co, Russian Federation.

casts.hpp « base - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4afac3270742654fe313c1fdf22f0469d90411be (plain)
1
2
3
4
5
6
7
#pragma once
#include "assert.hpp"

template <typename ToT, typename FromT> ToT implicit_cast(FromT const & t)
{
  return t;
}