我使用it is not a class, namespace, or enumeration
从#include <iostream>
#include <tuple>
using namespace std;
template <typename ...Ts>
struct list {};
template <int I, typename T, typename ...Ts>
struct S {
using type = typename S<I-1, Ts...>::type;
};
template <typename T, typename ...Ts>
struct S<0, T, Ts...> {
using type = T;
};
template <int I, typename ...Ts>
S<I, Ts...> ith(list<Ts...>) {
return S<I, Ts...>{};
}
int main() {
auto l = list<const char *, void *, double>{};
S<2, const char*, void *, double> it = ith<2>(l);
it::type a = 1; // This line seems to cause the issue,
// if removed the program compiles fine.
return 0;
}
Error:
p.cpp:32:2: error: 'it' is not a class, namespace, or enumeration
it::type a = 1;
^
p.cpp:31:36: note: 'it' declared here
S<2, const char*, void *, double> it = ith<2>(l);
^
1 error generated.
频道安装了R和conda
,看起来很成功:
WGCNA
尽管上面列出的所有其他软件包都可以使用bioconda
,但$ conda list | grep bioconda
bioconductor-annotationdbi 1.44.0 r351_0 bioconda
bioconductor-biobase 2.42.0 r351h1de35cc_1 bioconda
bioconductor-biocgenerics 0.28.0 r351_1 bioconda
bioconductor-go.db 3.7.0 r351_0 bioconda
bioconductor-impute 1.56.0 r351ha44fe06_0 bioconda
bioconductor-iranges 2.16.0 r351h1de35cc_0 bioconda
bioconductor-preprocesscore 1.44.0 r351h470a237_0 bioconda
bioconductor-s4vectors 0.20.1 r351h470a237_0 bioconda
r-wgcna 1.66 r351h466af19_1 bioconda
和WGCNA
并未在R中显示。