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 — Rework as to use class based dispatch · Issue #175 · Rcpp11/Rcpp11

Rework as to use class based dispatch #175

New issue
Copy link
New issue
Copy link
Open
Open
Rework as to use class based dispatch#175
Copy link
Labels
APIdesign

Description

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

At the moment the impl of as is inherited from Rcpp:

    template <typename T> T as( SEXP m_sexp) {
        return internal::as<T>( m_sexp, typename traits::r_type_traits<T>::r_category() ) ;
    }

where we should do something similar to what we've done for wrap :

    template <typename T> T as( SEXP m_sexp) {
        return typename traits::as_type<T>::type( m_sexp ).get()  ;
    }

or something. Also this instantiation of as should be moved to meat, as late as possible #104

This will make extending as easier.

Activity

  1. romainfrancois
    added
    API
    on May 23, 2014
  2. romainfrancois
    added a commit that references this issue on Jun 22, 2014

    move as instantiation until later. #175

    dd3bcf1
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

    APIdesign

    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.