JSON Voorhees
Killer JSON for C++
Loading...
Searching...
No Matches
function_adapter.hpp File Reference

Copyright (c) 2015-2020 by Travis Gockel. More...

#include <jsonv/config.hpp>
#include <jsonv/serialization.hpp>
#include "adapter_for.hpp"
+ Include dependency graph for function_adapter.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  jsonv::function_adapter< T, FExtract, FToJson >
 

Functions

template<typename FExtract , typename FToJson >
auto jsonv::make_adapter (FExtract extract, FToJson to_json_) -> function_adapter< decltype(extract(std::declval< const extraction_context & >(), std::declval< const value & >())), FExtract, FToJson >
 
template<typename FExtract , typename FToJson , typename = void>
auto jsonv::make_adapter (FExtract extract, FToJson to_json_) -> function_adapter< decltype(extract(std::declval< const value & >())), FExtract, FToJson >
 

Detailed Description

Copyright (c) 2015-2020 by Travis Gockel.

All rights reserved.

This program is free software: you can redistribute it and/or modify it under the terms of the Apache License as published by the Apache Software Foundation, either version 2 of the License, or (at your option) any later version.

Author
Travis Gockel (travi.nosp@m.s@go.nosp@m.ckelh.nosp@m.ut.c.nosp@m.om)

Definition in file function_adapter.hpp.