GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — type augmented Function · Issue #165 · Rcpp11/Rcpp11

type augmented Function #165

New issue
Copy link
New issue
Copy link
Open
Open
type augmented Function#165
Copy link
Labels
API

Description

@romainfrancois
romainfrancois
opened on May 13, 2014
Issue body actions

Something like the F template in my answer here

template <typename T, typename... Args>
class F {
public: 
  F( SEXP f_) : f(f_){}

  inline T operator()(Args... args){
    return as<T>(f(args...)) ;  
  }

private:
  Function f ;
} ;

Activity

  1. romainfrancois
    added
    API
    on May 13, 2014
  2. romainfrancois commented on May 21, 2014

    @romainfrancois
    romainfrancois
    on May 21, 2014
    ContributorAuthor
    More actions

    Not sure how it should be called. F is obviously wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    API

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.